Just came across this article on my mate Nick’s blog. He speaks the truth—-SSH is brilliant for copying stuff to and fro if you have access to a commandline and the receiving machine is publicly contactable on port 22.

To generalise, you can also copy an arbitrary tree of stuff around (including block devices, etc) using tar:

tar -zcvf - trinkets/ | ssh you@remote.machine.com 'tar -zxf -'

This will duplicate the trinkets/ folder to your home directory on remote.machine.com.

posted : Thursday, February 28th, 2008

tags :