Fastest Way To Copy Files from One Server to Other using SSH Command

SSH Command, access shared hosting

If you are enthusiastic a propos speaking a colossal website and sore spot to fiddle back your SSH Command server subsequently unbearable your website manually will appointment lots of time , Suppose your website size is 4GB subsequent to code+Mysql database, and you tortured sensation to shape website to additional server subsequently handily compress you website using gzip command and copy zip to calculation server via SSH. I relay found this is a fastest habit to copy files form one server to extra server.

SSH command to copy files

To copy a file from Server-B to Server-A while logged into Server-B:

scp /path/to/file username@Server-A-IP:/path/to/destination

To copy a file from Server-B to Server-A while logged into Server-A:

scp username@Server-B-IP:/path/to/file /path/to/destination

Leave a Reply