take a look at the manpage of the options of ssh: man ssh_config the options of ssh (ssh -o, take a look at man ssh for this) are described in the manpage of ssh_config frits On Feb 24, 2010, at 5:19 PM, Jared Still wrote: > On Tue, Feb 23, 2010 at 10:38 PM, A Joshi <ajoshi977@xxxxxxxxx> wrote: > hi, > can someone give example for ssh to copy/ftp files with compress across > servers. i did find some eg on net > > scp [-Cr] /some/file [ more ... ] host.name:/destination/file > and -C is for compress - will this use compress? is there a way to use gzip > and tell degree of compress. any other suggestion.our network is very slow. > thanks. > > > > > ssh uses zlib - > http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Compression.html > > scp -C my_file somehost:someuser:~/somedir > > > Jared Still > Certifiable Oracle DBA and Part Time Perl Evangelist > Oracle Blog: http://jkstill.blogspot.com > Home Page: http://jaredstill.com > > -- > //www.freelists.org/webpage/oracle-l > > >