mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
scp with ssh key
This commit is contained in:
parent
d2c7181f9a
commit
3e72760a45
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue