dd
dd to remote host
run from remote host:
$ dd if=/dev/sda | gzip -1 - | ssh user@local dd of=image.gz
run from localhost:
$ ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz
run from remote host:
$ dd if=/dev/sda | gzip -1 - | ssh user@local dd of=image.gz
run from localhost:
$ ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz