Mathias Spoerr
2016-05-18 06:59:44 UTC
Hello,
it seems Cisco changed their SSH implementation recently and now I get
Cryptlib error-code "-41" (No data was read because the remote system closed
the connection (recv() == 0)) when connecting to such a device. Cisco SSH
debug output is as follows:
*May 17 13:46:16.964: SSH1: starting SSH control process
*May 17 13:46:16.964: SSH1: sent protocol version id SSH-2.0-Cisco-1.25
*May 17 13:46:16.967: SSH1: protocol version id is - SSH-2.0-cryptlib
*May 17 13:46:16.967: SSH2 1: kexinit sent: encryption algo =
aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
*May 17 13:46:16.967: SSH2 1: kexinit sent: mac algo =
hmac-sha1,hmac-sha1-96
*May 17 13:46:16.967: SSH2 1: SSH2_MSG_KEXINIT sent
*May 17 13:46:16.972: SSH2 1: SSH2_MSG_KEXINIT received
*May 17 13:46:16.973: SSH2 1: kex: client->server enc:aes128-cbc
mac:hmac-sha1
*May 17 13:46:16.973: SSH2 1: kex: server->client enc:aes128-cbc
mac:hmac-sha1
*May 17 13:46:16.973: %SSH-3-NO_MATCH: No matching kex algorithm found:
client diffie-hellman-group-exchange-sha256 server
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellma
n-group1-sha1
*May 17 13:46:17.072: SSH1: Session disconnected - error 0x00
Which setting on cryptlib side is needed to add the missing DH groups?
Thanks,
Mathias
it seems Cisco changed their SSH implementation recently and now I get
Cryptlib error-code "-41" (No data was read because the remote system closed
the connection (recv() == 0)) when connecting to such a device. Cisco SSH
debug output is as follows:
*May 17 13:46:16.964: SSH1: starting SSH control process
*May 17 13:46:16.964: SSH1: sent protocol version id SSH-2.0-Cisco-1.25
*May 17 13:46:16.967: SSH1: protocol version id is - SSH-2.0-cryptlib
*May 17 13:46:16.967: SSH2 1: kexinit sent: encryption algo =
aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
*May 17 13:46:16.967: SSH2 1: kexinit sent: mac algo =
hmac-sha1,hmac-sha1-96
*May 17 13:46:16.967: SSH2 1: SSH2_MSG_KEXINIT sent
*May 17 13:46:16.972: SSH2 1: SSH2_MSG_KEXINIT received
*May 17 13:46:16.973: SSH2 1: kex: client->server enc:aes128-cbc
mac:hmac-sha1
*May 17 13:46:16.973: SSH2 1: kex: server->client enc:aes128-cbc
mac:hmac-sha1
*May 17 13:46:16.973: %SSH-3-NO_MATCH: No matching kex algorithm found:
client diffie-hellman-group-exchange-sha256 server
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellma
n-group1-sha1
*May 17 13:46:17.072: SSH1: Session disconnected - error 0x00
Which setting on cryptlib side is needed to add the missing DH groups?
Thanks,
Mathias