Guest User

Untitled

a guest
Dec 12th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. scp -i /home/user/.ssh/id_rsa user@host1:/tmp/myfile user@host2:/tmp/
  2.  
  3. scp -i /home/user/.ssh/id_rsa host2:/tmp/somedistantfile /tmp
  4.  
  5. scp -i /home/user/.ssh/id_rsa /tmp/somelocalfile host2:/tmp
  6.  
  7. ssh -A -t -v user-1@source-host scp /path/to/source/file user-2@dest-host:/path/to/dest/file
Add Comment
Please, Sign In to add comment