So, you want to clone a hard disk?
I'll give you an example how ddworks. Suppose I have 2 hard disks installed on my machine and want to dump the 1st one onto another.The first hard drive is called /dev/hdaand the second will be /dev/hdc. The command ~#:dd if=/dev/hda of=/dev/hdc bs=2048/4096
will copy the whole contents of the first hard disk onto the second.
2048 or 4096 determines the speed of that.
I don't know how to use ssh, because I've never used that, but I guess you should pipe the output of dd to ssh.
Last edited by mobydick; 03-08-2009 at 12:16 AM.