1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 08:55:33 +02:00

Merge pull request #379 from xidui/master

scp with ssh key
This commit is contained in:
Igor Shubovych 2015-12-26 11:41:34 +02:00
commit 4a3a61620c

View file

@ -30,3 +30,7 @@
- copy a file from one host to another
`scp {{10.0.0.1}}:{{/remote/path/file.txt}} {{20.0.0.2}}:{{/other/remote/path}}`
- download a file with ssh key
`scp -i {{/local/key}} {{10.0.0.1}}:{{/remote/path/file.txt}} {{/local/folder}}`