diff options
Diffstat (limited to 'tools/ssh.md')
| -rw-r--r-- | tools/ssh.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/ssh.md b/tools/ssh.md index b94a0a3..1d6dad2 100644 --- a/tools/ssh.md +++ b/tools/ssh.md @@ -34,8 +34,17 @@ `logcat -s 'syslog:*'` - -#### Copying files +#### Copying files +##### (SCP Secure Copy Protocol) +- Syntax: +```bash +scp [OPTIONS] [[user@]src_host:]file1 [[user@]dest_host:]file2 +``` +```bash +scp file <remote_username>@<IPorHost>:<PathToFile> <LocalFileLocation> +``` + +How to SSH File Transfer from Remote to Local 1. Copy single file from local to remote using scp. $ `scp myfile.txt remoteuser@remoteserver:/remote/folder/` |