Prolog
I was working on my Ubuntu VM (running on Azure) when I was suddenly disconnected last night. I had not scheduled any restart myself, so I am not sure what could have caused this. I was logged in and actively working, and did nothing like apt-get upgrade or similar at that moment.
Problem
After being disconnected I have been able to connect, just not complete the login.
Any clues to what can cause this and how to fix it?
ssh output
$ ssh -v [email protected]
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to myapp.cloudapp.net [137.116.246.159] port 22.
debug1: Connection established.
debug1: identity file /Users/oligofren/.ssh/id_rsa type 1
debug1: identity file /Users/oligofren/.ssh/id_rsa-cert type -1
debug1: identity file /Users/oligofren/.ssh/id_dsa type -1
debug1: identity file /Users/oligofren/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
At this point nothing happens. It just hangs there doing nothing - not quitting, not doing anything else.
The Azure instance seemed to have crashed/frozen.
At least that's my diagnosis after coming back to work on Monday morning and trying to reboot it. It was saying it was shutting down the VM for at least an hour before it completed.
After rebooting the Azure instance everything worked again.