cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: CURL Command line tool change SFTP Cipher

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 31 Jan 2012 23:38:59 +0100 (CET)

On Tue, 31 Jan 2012, Faizel Isaacs wrote:

> Can you please let me know if there's any command line switches one can use
> to instruct CURL to use certain "Cipher" switches when we need to SFTP to
> some host that supports the none Cipher switch. I'm looking at reducing the
> overhead of SSH encryption and speed up the SFTP transfers, by implementing
> the “none” cipher.

No, there's no such switch. And honestly, the slowness you may experience with
SFTP when using curl is not at all because of what crypto algorithm you're
using, but much more because of buffering shortcomings in libcurl that makes
it incapable of using libssh2's greater powers to do speedier transfers.

I'm not saying changing crypto algorithms can't make a difference, but I am
suggesting that in curl's case it is probably not a change that would make any
difference before other areas have been improved.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-31