SSH and SCP: Howto, tips & tricks « Linux Tutorial Blog
Regarding yesterday’s SFTP over Terminal, SCP is what I was looking for. Thanks Ben Schwarz for the tip.
The scp command allows you to copy files over ssh connections. This is pretty useful if you want to transport files between computers…
To upload
$ scp examplefile user@mydomain.com:/path/to/
To download
$ scp user@mydomain.com:/path/to/examplefile .