Question

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

Posted January 6, 2017 1.7k views
UbuntuDigitalOcean

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.

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.

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