From 4da53e7db599a1ef29f5ad984fa05e516ab6ce1e Mon Sep 17 00:00:00 2001 From: leoTlr Date: Sat, 25 Nov 2023 08:00:05 +0100 Subject: [PATCH] scp: add proxy example (#11567) --- pages/common/scp.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/scp.md b/pages/common/scp.md index dc46a68d3..a6dee41f0 100644 --- a/pages/common/scp.md +++ b/pages/common/scp.md @@ -30,4 +30,8 @@ - Use a specific ssh private key for authentication with the remote host: -`scp -i {{~/.ssh/private_key}} {{local_file}} {{remote_host}}:{{/path/remote_file}}` +`scp -i {{~/.ssh/private_key}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}` + +- Use a specific proxy when connecting to the remote host: + +`scp -J {{proxy_username}}@{{proxy_host}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}`