On Thu, Aug 12, 2010 at 09:18:31AM -0400, Robert Heller wrote:
program | bzip2 | ssh -q remote-host 'bunzip2 | remote-program'
If you're gonna put a compression tool in the pipeline then I recommend you ensure ssh's own on-the-wire compression is turned off 'cos otherwise you're potentially wasting CPU cycles. ssh -q -o 'Compression no' remote-host
Yes; this may be the default value but it's always a good thing to ensure sane values are used in cases like this :-)