1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-08 14:35:41 +02:00

scp: add proxy example (#11567)

This commit is contained in:
leoTlr 2023-11-25 08:00:05 +01:00 committed by GitHub
parent 513a6cd893
commit 4da53e7db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`