OK. What you could do is pipe the output of the 'dd' command through ssh and save it to a
file on the remote machine:
Code:
dd if=/dev/sda | ssh niteen@another_system "dd of=/tmp/sda.dd"
There's a couple of things to be said:
- the remote system should have enough free space,
- if the network, the local or remote machine are slow this may be a lengthy process,
- the process should not be interrupted,
- if you first zero free space and then compress it with say bzip2 or xz this may be quicker,
- 'dd' arguments like "conv=noerror,sync bs=4M" may help speed up copying as well,
- creating a hash of /dev/sda (to check proper transfer) won't match the remote files hash unless you boot another OS or Live CD/DVD.