Upload and downfile using scp18 Dec 2009
The scp command allows you to copy files over ssh connections. This is pretty useful if you want to transport files between computers, for example to backup something.
Upload local file to remote server: scp localfile username@tohostname:/dir/
Download remote file to local system: scp username@tohostname:/remotefile /localdir/