[CentOS] tar - ssh - standard out
Stephen Harris
lists at spuddy.org
Thu Aug 12 13:28:01 UTC 2010
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 :-)
--
rgds
Stephen
More information about the CentOS
mailing list