Package: openssh-client Version: 1:6.5p1-4 Severity: normal
Dear Maintainer, * What led up to the situation? Trying to connect to a cisco router running IOS * What was the outcome of this action? $ ssh -v j...@xx.xx.xx.xx OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to xx.xx.xx.xx [xx.xx.xx.xx] port 22. debug1: Connection established. debug1: identity file /home/jedi/.ssh/id_rsa type -1 debug1: identity file /home/jedi/.ssh/id_rsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_dsa type -1 debug1: identity file /home/jedi/.ssh/id_dsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_ecdsa type -1 debug1: identity file /home/jedi/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_ed25519 type -1 debug1: identity file /home/jedi/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.5p1 Debian-4 debug1: Remote protocol version 1.99, remote software version Cisco-1.25 debug1: no match: Cisco-1.25 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP Connection closed by xx.xx.xx.xx This however works: $ ssh -o KexAlgorithms=diffie-hellman-group14-sha1 -v j...@xx.xx.xx.xx OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to xx.xx.xx.xx [xx.xx.xx.xx] port 22. debug1: Connection established. debug1: identity file /home/jedi/.ssh/id_rsa type -1 debug1: identity file /home/jedi/.ssh/id_rsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_dsa type -1 debug1: identity file /home/jedi/.ssh/id_dsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_ecdsa type -1 debug1: identity file /home/jedi/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/jedi/.ssh/id_ed25519 type -1 debug1: identity file /home/jedi/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.5p1 Debian-4 debug1: Remote protocol version 1.99, remote software version Cisco-1.25 debug1: no match: Cisco-1.25 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Server host key: RSA ************** debug1: Host 'xx.xx.xx.xx' is known and matches the RSA host key. debug1: Found key in /home/jedi/.ssh/known_hosts:267 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: keyboard-interactive,password debug1: Next authentication method: keyboard-interactive Password: Setting KexAlgorithms=diffie-hellman-group1-sha1 also works. On the server side, entering the config line "ip ssh dh min size 4096" also works. The default on this router is 1024, which doesn't work. The problem does not occur with 1:6.4p1-2 and earlier, or e.g. putty. This seemed related, although referring to an earlier version: https://bugzilla.redhat.com/show_bug.cgi?id=1053107 http://www.gossamer-threads.com/lists/openssh/dev/57509 -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openssh-client depends on: ii adduser 3.113+nmu3 ii dpkg 1.17.6 ii libc6 2.17-97 ii libedit2 3.1-20130712-2 ii libgssapi-krb5-2 1.12+dfsg-2 ii libselinux1 2.2.2-1 ii libssl1.0.0 1.0.1f-1 ii passwd 1:4.1.5.1-1 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages openssh-client recommends: ii xauth 1:1.0.7-1 Versions of packages openssh-client suggests: pn keychain <none> pn libpam-ssh <none> pn monkeysphere <none> pn ssh-askpass <none> -- Configuration Files: /etc/ssh/ssh_config changed: Host * SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes GSSAPIDelegateCredentials no ServerAliveInterval 300 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org