Why can't I SSH in. It won't establish a connection

August 17, 2013 5.1k views
new-host-2:.ssh$ ssh -vvv root@ OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 53: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to [] port 22. debug1: connect to address port 22: Operation timed out ssh: connect to host port 22: Operation timed out new-host-2:.ssh$
4 Answers
I believe this is related to
So, you believe. And at that topic, you said open support ticket. Well done.
@nezaboravi: Well, both questions were posted by the same user. I'm sure having everything in one place would be easier to manage than two separate questions on the same issue. There was an issue with some images in August, 2013 which is when this was posted, so that's why I asked him to file a support ticket.
Are you experiencing the same problem? If so, do you have a firewall installed on your droplet? What's the output of sudo iptables-save?

I had a similar issue twice with two different droplets. Rebooting the server helped in both cases.

Login to your DigitalOcean dashboard and access the droplet via the Console Access. If you're able to login there, just enter the following command to reboot

sudo reboot

If you cannot login, then use the Power Cycle button instead.

Hope this helps someone :)

Have another answer? Share your knowledge.