One way to move files between servers is by using the scp
command. Secure copy command utilizes ssh to transfer data.
The simples example for copying a file from local to remote server is
scp /localdir/localfile [email protected]:/remotedir/remotefile
Similarily, to copy file from a remote to local server would be
scp [email protected]:/remotedir/remotefile /localdir/localfile