On 1/1/2010 9:53 PM, [email protected] wrote:
Message: 1
Date: Fri, 1 Jan 2010 16:22:46 +0100 (CET)
From: Daniel Stenberg<[email protected]>
To: libssh2 development<[email protected]>
Subject: RE: Unable to exchange encryption keys
Message-ID:<[email protected]>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Thu, 31 Dec 2009, Oliver Nelson wrote:
>> 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.
As the negotiation failed and no SSH connection was made, there's not a valid
session setup. Or what am I not understanding?
If you look at the thread history you'll see that I am getting a successful
connection even though I get this error and can't see the hostkey. Also, the
hash of the hostkey is correct. I can login without a problem. I'm using the
connection in a port forwarding mode, and that works just fine. But when I
started the testing I wasn't doing any key verification. I went to add that
and came across this issue.
OLIVER
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel