On 12/31/2009 3:00 AM, [email protected] wrote:
On Tue, 29 Dec 2009, Oliver Nelson wrote:
> I've done some more work on this problem.(all
"this problem" being the one mentioned in the subject?
Sorry if I was unclear. I was posting a reply to a message of my own
from a couple of weeks before. I meant that I got a chance to look
some more at the problem I am having.
> libssh2_session_hostkey returns an empty string.
I really don't see how this is related to the problem with encryption keys.
The libssh2_session_hostkey() returns the hostkey from the negotiation. To me
it sounds more like a bug in that specific hostkey handling. Can't you just
set a break-point where the key is stored and see what it does?
I don't have a very deep understanding of how SSH works. I was under the impression that
receiving the "Unable to exchange encryption keys" error I am getting
was related to the reason that libssh2_session_hostkey isn't returning
the hostkey. If that isn't the case, them I'm a bit lost as to what is
wrong. It happens to every server I try to connect to so far.
-- / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel