scp

From WebHostingNeeds.com
Jump to: navigation, search

scp is secure copy. That is you can copy file between servers over ssh connection.

scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
         [-l limit] [-o ssh_option] [-P port] [-S program]
         [[[email protected]]host1:]file1 [...] [[[email protected]]host2:]file2


Example

scp file.extn [email protected]:/path/

For server with ssh on non default port, for eg: 3333

scp -P 3333 iberiaca_vshare.sql [email protected]:/root/