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

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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