Login to droplet with root username, doesn't ask me for the password !!!

January 6, 2017 1.1k views
DigitalOcean Ubuntu

When I try to login to the droplet server with the username ‘root’ it will not ask me for the password, but if i type 'test’ than it asks for the password:
So I can’t access to the droplet because i can’t type the password.
Does any one knows why this is happening ?

I rebooted the server, same thing.

1 Answer

My first guess would be that PermitRootLogin is set to “no” in your /etc/ssh/sshd_config file. You can log into your root account via the console in the control panel to make the update and then restart the ssh service with

service ssh restart
Have another answer? Share your knowledge.