[lug] dd ssh pipe to bzip?

Davide Del Vento davide.del.vento at gmail.com
Wed Nov 17 16:46:38 MST 2010


>  dd if=/dev/mapper/VolGroup00-LogVol00 | ssh -Te none offsite at dev -i
>   /root/.ssh/id_dsa_offsite "bzip2 -c > gw2.iso.bz2"
>
> If a data file happened to contain the magic escape sequence your SSH
> session would get dumped to a > prompt.

I wonder why not using scp instead.



More information about the LUG mailing list