Not able to ssh to my droplet.

December 11, 2013 1.2k views
I just bought a droplet but i am not able to ssh into it. I haven't set up ssh keys yet. I am trying to login as the root user with the provided password but it isn't connecting. ssh -v root@ OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/ramanuj/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to [] port 22.
3 Answers
Login to your DigitalOcean Control Panel and make sure that your droplet's Status is "Active."
Are you able to log in to your droplet through the Remote Console? If so, run these commands once you're in and you should be able to SSH into it:

rm /etc/ssh/ssh_host_*

/usr/sbin/dpkg-reconfigure openssh-server
Have another answer? Share your knowledge.