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

From: Denis <denis.sun_at_yahoo.com>
Date: Thu, 25 Feb 2010 08:39:55 -0800 (PST)
Message-ID: <300020.70903.qm_at_web57204.mail.re3.yahoo.com>


It seems in my Unix (SunOS 5.10) there is no -C option for scp  Never know that option before :-)

Yu "Denis" Sun
Oracle DBA




________________________________
From: Mark W. Farnham <mwf_at_rsiz.com>
To: denis.sun_at_yahoo.com; oracle-l_at_freelists.org
Sent: Thu, February 25, 2010 11:31:43 AM
Subject: RE: ** ssh to copy/ftp files with compress


Is that comparison with or without the –C flag on scp?
 

________________________________

From:oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Denis
Sent: Wednesday, February 24, 2010 11:27 PM
To: oracle-l_at_freelists.org
Subject: Re: ** ssh to copy/ftp files with compress
 
I usually find the following (executed at the target server) is able to transfer a file much faster than directly scp. However, gzip will consume some CPU. 
 
ssh2 source_server 'cat ${FNAME}| gzip -c' | gunzip -c > ${FILELOC}/${FNAME}


      
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 25 2010 - 10:39:55 CST

Original text of this message