Report this

What is the reason for this report?

ROOT LOGIN ERROR ( AUTO CLOSE AFTER CHANGE PASSWORD )

Posted on April 29, 2022

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.



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!

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 @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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.