curl / Mailing Lists / curl-users / Single Mail


Re: Diagnosing sftp problems?

From: Daniel Stenberg <>
Date: Tue, 14 Aug 2018 23:01:44 +0200 (CEST)

On Tue, 14 Aug 2018, Kevin R. Bulgrien wrote:

> curl 7.61.0 (i686-pc-sco3.2v5.0.7) libcurl/7.61.0 OpenSSL/1.0.2o zlib/1.2.11
> libssh2/1.1


> If you notice libssh2 is very old, this is because I had trouble compiling
> newer versions and haven't figured out how to fix the build issues.

I think that's a good start. That libssh2 version is over nine years old.

> I tried --trace / --trace-ascii as help says it gives more detail, but it
> actually gives less detail:
> $ curl --trace -k -u user 'sftp://'

--trace and --trace-ascii need a file name too, which you set to '-k' ...

> Failure establishing ssh session

That's libssh2's libssh2_session_startup() function that returns error...

Received on 2018-08-14