Re: ** ssh to copy/ftp files with compress

  • From: Jared Still <jkstill@xxxxxxxxx>
  • To: ajoshi977@xxxxxxxxx
  • Date: Wed, 24 Feb 2010 08:19:56 -0800

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
>
>
>

Other related posts: