OpenSSH will also do compression itself (using zlib's LZ algorighm):

cat file | ssh -oCompression=yes u...@remote 'cat >file'

You can also set this option on when using sftp.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Thu, Feb 18, 2010 at 1:51 PM, McKown, John
<john.mck...@healthmarkets.com> wrote:
<snip>
>
> gzip file | ssh u...@remote 'gunzip >file'
>
> when I run over a slow link. That compresses the source file, piping the 
> data, as it is being created, into ssh, which establishes a connection to 
> "remote" as "user", then pipes the data coming over into gunzip which write 
> it to "file", via redirection.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to