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.