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] [[user@]host1:]file1 [...] [[user@]host2:]file2
Example
scp file.extn user@remote-server-ip:/path/
For server with ssh on non default port, for eg: 3333
scp -P 3333 iberiaca_vshare.sql [email protected]:/root/
See rsync, Linux Commands
Leave a Reply