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

Unable to verify hostkey signature - Unable to exchange encryption keys

From: evgeniy v <y.vishniavetsk_at_gmail.com>
Date: Tue, 8 Jun 2010 00:03:53 +0300

Hello,

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.

Tracing from program is below.

Trying ssh to 192.168.1.137 ...
trace> Initialization ssh session object ... Done
Opening ssh session ...
[libssh2] 0.687500 Failure Event: -37 - Failed getting banner
[libssh2] 0.718750 Failure Event: -37 - Failed getting banner
[libssh2] 0.750000 Failure Event: -37 - Failed getting banner
[libssh2] 0.781250 Failure Event: -37 - Failed getting banner
[libssh2] 0.812500 Failure Event: -37 - Failed getting banner
[libssh2] 0.843750 Failure Event: -37 - Failed getting banner
[libssh2] 0.875000 Failure Event: -37 - Failed getting banner
[libssh2] 0.906250 Failure Event: -37 - Failed getting banner
[libssh2] 0.937500 Failure Event: -37 - Failed getting banner
[libssh2] 0.968750 Failure Event: -37 - Failed getting banner
[libssh2] 1.000000 Failure Event: -37 - Failed getting banner
[libssh2] 1.031250 Failure Event: -37 - Failed getting banner
[libssh2] 1.062500 Failure Event: -37 - Failed getting banner
[libssh2] 1.093750 Failure Event: -37 - Failed getting banner
[libssh2] 1.125000 Failure Event: -37 - Failed getting banner
[libssh2] 1.156250 Failure Event: -37 - Failed getting banner
[libssh2] 1.187500 Failure Event: -37 - Failed getting banner
[libssh2] 1.218750 Failure Event: -37 - Failed getting banner
[libssh2] 1.250000 Failure Event: -37 - Failed getting banner
[libssh2] 1.281250 Failure Event: -37 - Failed getting banner
[libssh2] 1.312500 Failure Event: -37 - Failed getting banner
[libssh2] 1.343750 Failure Event: -37 - Failed getting banner
[libssh2] 1.375000 Failure Event: -37 - Failed getting banner
[libssh2] 1.406250 Failure Event: -37 - Failed getting banner
[libssh2] 1.437500 Failure Event: -37 - Failed getting banner
[libssh2] 1.468750 Failure Event: -37 - Failed getting banner
[libssh2] 1.500000 Failure Event: -37 - Failed getting banner
[libssh2] 1.531250 Failure Event: -37 - Failed getting banner
[libssh2] 1.562500 Failure Event: -37 - Failed getting banner
[libssh2] 1.593750 Failure Event: -37 - Failed getting banner
[libssh2] 1.625000 Failure Event: -37 - Failed getting banner
[libssh2] 1.656250 Failure Event: -37 - Failed getting banner
[libssh2] 1.687500 Failure Event: -37 - Failed getting banner
[libssh2] 1.718750 Failure Event: -37 - Failed getting banner
[libssh2] 1.750000 Failure Event: -37 - Failed getting banner
[libssh2] 1.781250 Failure Event: -37 - Failed getting banner
[libssh2] 1.812500 Failure Event: -37 - Failed getting banner
[libssh2] 1.843750 Failure Event: -37 - Failed getting banner
[libssh2] 1.875000 Failure Event: -37 - Failed getting banner
[libssh2] 1.906250 Failure Event: -37 - Failed getting banner
[libssh2] 1.937500 Failure Event: -37 - Failed getting banner
[libssh2] 1.968750 Failure Event: -37 - Failed getting banner
[libssh2] 2.000000 Failure Event: -37 - Failed getting banner
[libssh2] 2.031250 Failure Event: -37 - Failed getting banner
[libssh2] 2.062500 Failure Event: -37 - Failed getting banner
[libssh2] 2.093750 Failure Event: -37 - Failed getting banner
[libssh2] 2.125000 Failure Event: -37 - Failed getting banner
[libssh2] 2.250000 Key Ex: Sent KEX:
diffie-hellman-group14-sha1,diffie-hellman-
group-exchange-sha1,diffie-hellman-group1-sha1
[libssh2] 2.250000 Key Ex: Sent HOSTKEY: ssh-rsa,ssh-dss
[libssh2] 2.250000 Key Ex: Sent CRYPT_CS:
aes128-ctr,aes192-ctr,aes256-ctr,aes25
6-cbc,rijndael-cbc_at_lysator.liu.se
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,
arcfour,cast128-cbc,3des-cbc
[libssh2] 2.250000 Key Ex: Sent CRYPT_SC:
aes128-ctr,aes192-ctr,aes256-ctr,aes25
6-cbc,rijndael-cbc_at_lysator.liu.se
,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,
arcfour,cast128-cbc,3des-cbc
[libssh2] 2.250000 Key Ex: Sent MAC_CS:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5
-96,hmac-ripemd160,hmac-ripemd160_at_openssh.com
[libssh2] 2.250000 Key Ex: Sent MAC_SC:
hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5
-96,hmac-ripemd160,hmac-ripemd160_at_openssh.com
[libssh2] 2.250000 Key Ex: Sent COMP_CS: none,zlib
[libssh2] 2.250000 Key Ex: Sent COMP_SC: none,zlib
[libssh2] 2.250000 Key Ex: Sent LANG_CS:
[libssh2] 2.250000 Key Ex: Sent LANG_SC:
[libssh2] 2.250000 Key Ex: Agreed on KEX method: diffie-hellman-group1-sha1
[libssh2] 2.250000 Key Ex: Agreed on HOSTKEY method: ssh-rsa
[libssh2] 2.250000 Key Ex: Agreed on CRYPT_CS method: aes128-cbc
[libssh2] 2.250000 Key Ex: Agreed on CRYPT_SC method: aes128-cbc
[libssh2] 2.250000 Key Ex: Agreed on MAC_CS method: hmac-sha1
[libssh2] 2.250000 Key Ex: Agreed on MAC_SC method: hmac-sha1
[libssh2] 2.250000 Key Ex: Agreed on COMP_CS method: none
[libssh2] 2.250000 Key Ex: Agreed on COMP_SC method: none
[libssh2] 2.250000 Key Ex: Agreed on LANG_CS method:
[libssh2] 2.250000 Key Ex: Agreed on LANG_SC method:
[libssh2] 2.265625 Key Ex: Initiating Diffie-Hellman Group1 Key Exchange
[libssh2] 2.265625 Key Ex: Sending KEX packet 30
[libssh2] 2.265625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.296875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.328125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.359375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.390625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.421875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.453125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.484375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.515625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.546875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.578125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.609375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.640625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.671875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.703125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.734375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.765625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.796875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.828125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.859375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.890625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.921875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.953125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 2.984375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.015625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.046875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.078125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.109375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.140625 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.171875 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.203125 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.234375 Failure Event: -37 - Unable to exchange encryption keys
[libssh2] 3.265625 Key Ex: Server's MD5 Fingerprint:
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
[libssh2] 14.843750 Failure Event: -8 - Unrecoverable error exchanging keys
[libssh2] 14.843750 Failure Event: -1 - Unable to exchange encryption keys

Thanks.

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