cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Failure initializing sftp session: Unable to send SSH_FXP_INIT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Apr 2009 19:46:36 +0200 (CEST)

On Mon, 20 Apr 2009, Maury Hammel wrote:

> % curl -u username:password sftp://xxx.yyy.com:10022/~/filename
> curl: (2) Failure initializing sftp session: Unable to send SSH_FXP_INIT

> curl 7.19.4 (i686-pc-linux-gnu) libcurl/7.19.4 OpenSSL/0.9.6b zlib/1.1.4
> libssh2/0.17

> I don't know much about file transfer protocols, and this is my first
> attempt at using curl. Did I miss option(s) in the curl command, some
> deficiency in the supporting libraries, or something else?

I would guess at some kind of deficiency. Both those versions of OpenSSL and
libssh2 are quite dated and you should probably upgrade those before fighting
this problem a lot more.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-21