Subject: Re: Unable to verify hostkey signature - Unable to exchange encryption keys

Re: Unable to verify hostkey signature - Unable to exchange encryption keys

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Jun 2010 12:47:47 +0200 (CEST)

On Tue, 8 Jun 2010, evgeniy v wrote:

> I got this error when I try connect to remote host. The program works with 3
> remote machine but I always have the error with 4th remote host.
>
> I have no ideas how to fix the problem. I use libssh2-1.2.4.

Does openssh or other SSH tools connect fine to this 4th remote host?

> 8b:63:3a:14:cc:41:1f:de:1b:
> d5:e1:6a:0d:95:87:47
> [libssh2] 3.265625 Key Ex: Server's SHA1 Fingerprint:
> 1a:70:c1:c5:b4:34:96:ad:7d
> :9b:de:6c:f3:fe:91:a9:e2:2b:0c:1a
> [libssh2] 14.843750 Failure Event: -11 - Unable to verify hostkey signature

This error messages comes from src/kex.c:402 in the diffie_hellman_sha1()
function when libssh2's sig_verify function fails.

I cannot see why it would not work for any particular host. I would suggest
that you enable debugging and fire up your debugger and single-step through
this. Unless of course you can tell us a public host that shows this
problem...

Oh, and just to be sure that you're not chasing already fixed problems I would
suggest you at least first try 1.2.5 or the current git repo to see if the
problem persists.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-09