From 72e120f554e08a653b6228a04854b4fa8f78ddec Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 7 Dec 2022 21:47:37 +0200 Subject: Add syntax for SCP --- tools/ssh.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'tools') 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 @: +``` + +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/` -- cgit v1.2.3