Subject: Re: [libssh2] Compiling and executing error of libssh2 0.14 in Sun Solaris 2.7 and AIX 4.3/5.1

Re: [libssh2] Compiling and executing error of libssh2 0.14 in Sun Solaris 2.7 and AIX 4.3/5.1

From: DAO Anh-Viet <avdao_at_influe.com>
Date: Tue, 20 Mar 2007 15:06:11 +0100

Hi,

I have had the following error in my SSH Server. Have you got any idea ?
I don't know how can I do ?

Br,

debug1: Server will not fork when running in debugging mode.
Connection from aixserver port 32810
debug1: Client protocol version 2.0; client software version libssh2_0.14
debug1: no match: libssh2_0.14
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.2.3p1
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cb c,rijndael-cbc_at_lysator.liu.se
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cb c,rijndael-cbc_at_lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160_at_openssh.com,hmac-sha1-96 ,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160_at_openssh.com,hmac-sha1-96 ,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hel lman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes256-cbc,rijndael-cbc_at_lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc ,arcfour,cast128-cbc,3des-cbc,none
debug2: kex_parse_kexinit: aes256-cbc,rijndael-cbc_at_lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc ,arcfour,cast128-cbc,3des-cbc,none
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160 @openssh.com
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160 @openssh.com
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-sha1
debug1: kex: client->server aes256-cbc hmac-sha1 none
debug2: mac_init: found hmac-sha1
debug1: kex: server->client aes256-cbc hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: dh_gen_key: priv key bits set: 255/512
debug1: bits set: 1059/2047
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: bits set: 1/2047
invalid public DH value (1/2047)
Disconnecting: bad client public DH value
debug1: Calling cleanup 0x200364c0(0x0)

Dao Anh-Viet
Développement
INFLUE ILLICOM
Email: avdao_at_influe.com

-----Message d'origine-----
De : Mononen Jussi [mailto:Jussi.Mononen_at_comptel.com]
Envoyé : mardi 20 mars 2007 14:20
À : DAO Anh-Viet; libssh2-devel_at_lists.sourceforge.net
Objet : RE: [libssh2] Compiling and executing error of libssh2 0.14 in Sun Solaris 2.7 and AIX 4.3/5.1

>> [libssh2] Transport: Disconnect(2): bad client public DH value()
>> [libssh2] Failure Event: -9 - Timed out waiting for KEX reply
>> [libssh2] Failure Event: -8 - Unrecoverable error exchanging keys
>> [libssh2] Failure Event: -5 - Unable to exchange encryption keys
>> * Failure establishing ssh session
>>
>> Sending of KEX packet is disconnected due to Timeout of
>> waiting KEX reply.
>> Do you think this problem is due to random device that you
>> said me last time?
>> If not, do you have any idea for this problem ?

Hi,

what does the ssh server say? Run it in debug mode so that you can see
why it does not accept or why it drops your KEX packets.

Something like

/usr/sbin/sshd -ddd -oPort=12345

then connect with your test program to port 12345

br,

/jUSSi

--
$[=1;@x=qw(A S D F G H J K L P);$"=q{};print @x[7,1,10,6];
Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-03-20