How to SCP

 SCP (secure copy)

A really good way to move files/folders between servers.  It is good because it is secure.

It is very easy to use. E.G.

command is:  scp file-name root@destanation machine: the location you want to put it in

 

Example  scp -r sql-backup.tar root@10.10.10.100:/backups/
With Port number

scp -P 2222 sql-backup.tar root@10.10.10.100:/backups/

 

 

Leave a Reply