Permission denied after restarting droplet

April 27, 2015 1.1k views
DigitalOcean Networking Configuration Management

Hi there,
After i restarted my droplet i can not access it with command line anymore.

I know am using the correct password because i can access it using DO access menu.

I've reset root password and removed the server from known hosts but the problem goes on.

Any suggestions?

-Ubuntu 14.10

1 Answer

Hi! Have you disabled root ssh login? Try logging in from the Remote Console and checking if that's the case:

grep PermitRootLogin /etc/ssh/sshd_config

If it is set to no (completely disabled) or without-password (SSH keys only), change it to yes and restart SSH so you can log in:

sudo service ssh restart
Have another answer? Share your knowledge.