I have the same problem here. Only on one remote host:
sylock@sylock-vmware:~$ ssh -vvv XXXXXX OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /home/sylock/.ssh/config debug1: /home/sylock/.ssh/config line 1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to XXXXXX[172.24.6.18] port 22. debug1: Connection established. debug1: identity file /home/sylock/.ssh/id_rsa type -1 debug1: identity file /home/sylock/.ssh/id_rsa-cert type -1 debug1: identity file /home/sylock/.ssh/id_dsa type -1 debug1: identity file /home/sylock/.ssh/id_dsa-cert type -1 debug1: identity file /home/sylock/.ssh/id_ecdsa type -1 debug1: identity file /home/sylock/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1 debug1: match: OpenSSH_5.1 pat OpenSSH_5* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1 debug2: fd 3 setting O_NONBLOCK debug3: load_hostkeys: loading entries for host "fsmal989" from file "/home/sylock/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /home/sylock/.ssh/known_hosts:269 debug3: load_hostkeys: loaded 1 keys debug3: order_hostkeyalgs: prefer hostkeyalgs: <email address hidden>,<email address hidden>,ssh-rsa debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: <email address hidden>,<email address hidden>,ssh-rsa,<email address hidden>,<email address hidden>,<email address hidden>,<email address hidden>,<email address hidden>,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,<email address hidden> debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,<email address hidden> debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,<email address hidden>,zlib debug2: kex_parse_kexinit: none,<email address hidden>,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-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-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,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,<email address hidden>,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,<email address hidden>,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,<email address hidden>,zlib debug2: kex_parse_kexinit: none,<email address hidden>,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_setup: found hmac-md5 debug1: kex: server->client aes128-ctr hmac-md5 none debug2: mac_setup: found hmac-md5 debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP Write failed: Connection reset by peer
sylock@sylock-vmware:~$ ssh -V OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
sylock@sylock-vmware:~$ cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.10 DISTRIB_CODENAME=quantal DISTRIB_DESCRIPTION="Ubuntu 12.10" NAME="Ubuntu" VERSION="12.10, Quantal Quetzal" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu quantal (12.10)" VERSION_ID="12.10"
sylock@sylock-vmware:~$ ldd /usr/bin/ssh linux-vdso.so.1 => (0x00007ffff11c0000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f14ce3e2000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f14ce01b000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f14cde16000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f14cdbff000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f14cd9e3000) libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f14cd7a4000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f14cd3e5000) /lib64/ld-linux-x86-64.so.2 (0x00007f14ce881000) libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f14cd117000) libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f14cceed000) libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f14ccce9000) libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f14ccae1000) libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f14cc8dc000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f14cc6bf000)
I have the same problem here. Only on one remote host:
sylock@ sylock- vmware: ~$ ssh -vvv XXXXXX .ssh/config .ssh/config line 1: Applying options for * .ssh/id_ rsa type -1 .ssh/id_ rsa-cert type -1 .ssh/id_ dsa type -1 .ssh/id_ dsa-cert type -1 .ssh/id_ ecdsa type -1 .ssh/id_ ecdsa-cert type -1 OpenSSH_ 6.0p1 Debian-3ubuntu1 sylock/ .ssh/known_ hosts" .ssh/known_ hosts:269 nistp256, ecdh-sha2- nistp384, ecdh-sha2- nistp521, diffie- hellman- group-exchange- sha256, diffie- hellman- group-exchange- sha1,diffie- hellman- group14- sha1,diffie- hellman- group1- sha1 ,ssh-rsa, <email address hidden>,<email address hidden>,<email address hidden>,<email address hidden>,<email address hidden> ,ecdsa- sha2-nistp256, ecdsa-sha2- nistp384, ecdsa-sha2- nistp521, ssh-dss ctr,aes192- ctr,aes256- ctr,arcfour256, arcfour128, aes128- cbc,3des- cbc,blowfish- cbc,cast128- cbc,aes192- cbc,aes256- cbc,arcfour, <email address hidden> ctr,aes192- ctr,aes256- ctr,arcfour256, arcfour128, aes128- cbc,3des- cbc,blowfish- cbc,cast128- cbc,aes192- cbc,aes256- cbc,arcfour, <email address hidden> hmac-sha1, <email address hidden> ,hmac-sha2- 256,hmac- sha2-256- 96,hmac- sha2-512, hmac-sha2- 512-96, hmac-ripemd160, <email address hidden> ,hmac-sha1- 96,hmac- md5-96 hmac-sha1, <email address hidden> ,hmac-sha2- 256,hmac- sha2-256- 96,hmac- sha2-512, hmac-sha2- 512-96, hmac-ripemd160, <email address hidden> ,hmac-sha1- 96,hmac- md5-96 hellman- group-exchange- sha256, diffie- hellman- group-exchange- sha1,diffie- hellman- group14- sha1,diffie- hellman- group1- sha1 cbc,3des- cbc,blowfish- cbc,cast128- cbc,arcfour128, arcfour256, arcfour, aes192- cbc,aes256- cbc,<email address hidden> ,aes128- ctr,aes192- ctr,aes256- ctr cbc,3des- cbc,blowfish- cbc,cast128- cbc,arcfour128, arcfour256, arcfour, aes192- cbc,aes256- cbc,<email address hidden> ,aes128- ctr,aes192- ctr,aes256- ctr hmac-sha1, <email address hidden> ,hmac-ripemd160 ,<email address hidden> ,hmac-sha1- 96,hmac- md5-96 hmac-sha1, <email address hidden> ,hmac-ripemd160 ,<email address hidden> ,hmac-sha1- 96,hmac- md5-96 KEX_DH_ GEX_REQUEST( 1024<1024< 8192) sent KEX_DH_ GEX_GROUP
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /home/sylock/
debug1: /home/sylock/
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to XXXXXX[172.24.6.18] port 22.
debug1: Connection established.
debug1: identity file /home/sylock/
debug1: identity file /home/sylock/
debug1: identity file /home/sylock/
debug1: identity file /home/sylock/
debug1: identity file /home/sylock/
debug1: identity file /home/sylock/
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "fsmal989" from file "/home/
debug3: load_hostkeys: found key type RSA in file /home/sylock/
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: <email address hidden>,<email address hidden>,ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: ecdh-sha2-
debug2: kex_parse_kexinit: <email address hidden>,<email address hidden>
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: none,<email address hidden>,zlib
debug2: kex_parse_kexinit: none,<email address hidden>,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-
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: none,<email address hidden>,zlib
debug2: kex_parse_kexinit: none,<email address hidden>,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_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_
debug1: expecting SSH2_MSG_
Write failed: Connection reset by peer
sylock@ sylock- vmware: ~$ ssh -V
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
sylock@ sylock- vmware: ~$ cat /etc/*release RELEASE= 12.10 CODENAME= quantal DESCRIPTION= "Ubuntu 12.10"
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"
sylock@ sylock- vmware: ~$ ldd /usr/bin/ssh 0000) 64-linux- gnu/libselinux. so.1 (0x00007f14ce3e 2000) 64-linux- gnu/libcrypto. so.1.0. 0 (0x00007f14ce01 b000) 64-linux- gnu/libdl. so.2 (0x00007f14cde1 6000) 64-linux- gnu/libz. so.1 (0x00007f14cdbf f000) 64-linux- gnu/libresolv. so.2 (0x00007f14cd9e 3000) krb5.so. 2 => /usr/lib/ x86_64- linux-gnu/ libgssapi_ krb5.so. 2 (0x00007f14cd7a 4000) 64-linux- gnu/libc. so.6 (0x00007f14cd3e 5000) ld-linux- x86-64. so.2 (0x00007f14ce88 1000) x86_64- linux-gnu/ libkrb5. so.3 (0x00007f14cd11 7000) x86_64- linux-gnu/ libk5crypto. so.3 (0x00007f14ccee d000) 64-linux- gnu/libcom_ err.so. 2 (0x00007f14ccce 9000) .so.0 => /usr/lib/ x86_64- linux-gnu/ libkrb5support. so.0 (0x00007f14ccae 1000) 64-linux- gnu/libkeyutils .so.1 (0x00007f14cc8d c000) 64-linux- gnu/libpthread. so.0 (0x00007f14cc6b f000)
linux-vdso.so.1 => (0x00007ffff11c
libselinux.so.1 => /lib/x86_
libcrypto.so.1.0.0 => /lib/x86_
libdl.so.2 => /lib/x86_
libz.so.1 => /lib/x86_
libresolv.so.2 => /lib/x86_
libgssapi_
libc.so.6 => /lib/x86_
/lib64/
libkrb5.so.3 => /usr/lib/
libk5crypto.so.3 => /usr/lib/
libcom_err.so.2 => /lib/x86_
libkrb5support
libkeyutils.so.1 => /lib/x86_
libpthread.so.0 => /lib/x86_