Question

ROOT LOGIN ERROR ( AUTO CLOSE AFTER CHANGE PASSWORD )

here is my problem, when i do login as root after password reset, then it told me to login with the password and i can login, but after change the new password it auto close my PUTTY.

Please help me to fix this problem.


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.

Hi @meimei,

Do you have PasswordAuthentication turned on in your /etc/ssh/sshd_config? Maybe it changed to the default one for some reason.

In such cases, you can use the recovery console to gain access back and check if that’s the case.

https://docs.digitalocean.com/products/droplets/resources/recovery-console/

Log in to your Droplet and see if you have PasswordAuthentication turned on in the mentioned config file.

Lastly, I want to mention that it’s recommended that you use SSH keys rather than Password authentication as t’s considered more secure.