Hello,
I compiled the libssh2 with Visual Studio 2008 and bulid the example sftp.c
(added a few printf statements and activated tracing). If i connect against
our protftp the error is:
Failure establishing SSH session: -41
The trace log is attached to this eMail.
Greetings
Michael
2012/10/16 Daniel Stenberg <daniel_at_haxx.se>
> On Mon, 15 Oct 2012, Torbjörn Lindgren wrote:
>
> [libssh2] 0.609810 Socket: Error recving 16384 bytes (got 5)
>>
>> Failure establishing SSH session: -43
>>
>> At some occations libssh2_session_handshake waits for several minutes. At
>> those occations return is still -43 but it is (got 0) instead of (got 5).
>>
>
> That's src/transport.c:376 at work. I can't easily tell why that triggers
> for you though.
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel