Question

Permission denied after restarting droplet

Posted April 27, 2015 3k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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
Submit an Answer