scp: add proxy example (#11567)
This commit is contained in:
@@ -30,4 +30,8 @@
|
|||||||
|
|
||||||
- Use a specific ssh private key for authentication with the remote host:
|
- 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}}`
|
||||||
|
Reference in New Issue
Block a user