Question

Permission denied after restarting droplet

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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