1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 16:15:33 +02:00

Merge pull request #206 from akoenig/scp

scp: specify port on host
This commit is contained in:
Igor Shubovych 2014-05-26 15:42:50 +03:00
commit bf3598ee92

View file

@ -21,6 +21,10 @@
`scp {{/local/file.txt}} {{my_user}}@{{10.0.0.1}}:{{/remote/path}}`
- specify port on host
`scp -P {{port}} {{/local/file.txt}} {{10.0.0.1}}:{{/remote/path}}`
- copy a file from one host to another
`scp {{10.0.0.1}}:{{/remote/path/file.txt}} {{20.0.0.2}}:{{/other/remote/path}}`