We have a customer of ours who upgraded to the latest OpenSSH version (V 6.2p2-0.21.1), and they are now getting a key exchange failed error when using your Rebex SSH component. We have extracted a log from their output, and we would like some assistance trying to figure out if this is an issue with your assembly or our software. We’re getting a “Key exchange failed” error.
On the server side the error is:
DEVGDB1 sshd: fatal: DH_GEX_REQUEST, bad parameters: 1536 !< 1024 !< 8192 [preauth]
Could you please assist? Let me know if there is any additional information I can provide.
Here is the exception that we get:
2015-10-26 15:27:20.936 DEBUG Ssh(5973) SSH: Group exchange.
2015-10-26 15:27:20.936 VERBOSE Ssh(5973) SSH: Sending packet SSH_MSG_KEX_30 (5 bytes).
0000 |1E-00-00-04-00 | .....
2015-10-26 15:27:20.936 DEBUG Ssh(5973) SSH: SSH connection closed.
2015-10-26 15:27:20.936 DEBUG Ssh(5973) SSH: Negotiation failed: Rebex.Net.SshException: Key exchange failed. The connection was closed by the server. ---> Rebex.Net.SshException: The connection was closed by the server.
at Rebex.Net.SshSession.ReceivePacket(SshLayer layer)
at Rebex.Net.SshDiffieHellmanGroupExchangeNegotiation.Negotiate(SshSession session, Byte V_C, Byte V_S, Byte I_C, Byte I_S, Byte& K, Byte& H, SshPublicKey& serverKey)
at Rebex.Net.SshSession.Negotiate(Byte I_S)