After upgrading my Ubuntu Server from release 13.04 to 13.10 (do-release-upgrade
), I can not connect to the server anymore, SSH closing connections immediately (after sending SSH2_MSG_KEXINIT). It worked well before upgrade and restart of the server.
~$ ssh -v superuser@MYHOST
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
[...]
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2p2 Ubuntu-6ubuntu0.1
debug1: match: OpenSSH_6.2p2 Ubuntu-6ubuntu0.1 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 123.123.123.123
As I had versioned the system configuration files, I can see that /etc/hosts.allow
, /etc/hosts.deny
did not change, nor did /etc/ssh/sshd_config
.
I checked some similar questions on AskUbuntu, StackExchange and SuperUser, but none of them solves this case, so I'm submitting it again.
A few issues I checked:
- AskUbuntu · Upgrade from 13.04 to 13.10 broke remote SSH access? · 10.11.2013
- Superuser · Not able to connect with server. Connection closed by remote server · 10.08.2013
- StackOverflow · SSH: Connection closed by remote server · 08.08.2013
- StackOverflow · ssh connection stop at “debug1: SSH2_MSG_KEXINIT sent” [closed] · 4.03.2010