scp

copy tool from Open SSH: https://www.openssh.com/

copy indirectly between two servers

the following command copies the data from the first server to the local and then to the second server (option -3 = 3rd):

scp -3 usrname1@server1:/path1/file usrname2@server2:/path2/file

If -3 is not given, the copy will start ssh to server1 and starts a scp from this server 1 direct to server 2.



Authors:
  • Jochen Schnuerle