Advertisement
fplanzer

remote copy

Dec 28th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. Copy something from this system to some other system:
  2.  
  3. scp /path/to/local/file username@hostname:/path/to/remote/file          
  4.  
  5. Copy something from some system to some other system:
  6.  
  7. scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file  
  8.  
  9. Copy something from another system to this system:
  10.  
  11. scp username@hostname:/path/to/remote/file /path/to/local/file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement