Upload file(s) via SSH using SCP

Here’s another useful command line utility – Secure Copy or SCP, that allows you to securely transfer computer files between a local and a remote host.

sudo scp localfile.dmg remoteuser(at)somehost.com://pathtoupload/

Much neater that using an SFTP client no?

Thanks to my work colleague Luke for bringing this to my attention 🙂
Marko