Peter Stuge wrote:
> > > libssh2 can't get past key exchange with the (public) server
> > > dante.u.washington.edu.
> >
> > I'm analyzing this now.. It's strange.
>
> libssh2 thinks it has sent KEX, but TCP has not yet gotten an ACK for
> the client identification string.
>
> Gut feeling is that the problem is in TCP on the server end..
>
> Not sure if libssh2 should send KEX before the client identification
> has been ACKed.
I've been comparing TCP packets for a while now, and the only
difference I've seen is the client identification string.
And indeed:
session = libssh2_session_init();
+ libssh2_session_banner_set(session, "SSH-2.0-OpenSSH_5.4");
if (libssh2_session_handshake(session, sock)) {
..allows libssh2 to speak with dante without problems.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-01-07