Question
How to revert to password login from ssh key login for root
Hello, I was working to add a new user on our droplet, and I accidentally disabled the root user ssh key login. Is there a way to revert back to password login for the root user? If I set PasswordAuthentication to yes in sshd_config and restart ssh, it still asks for the password for the SSH key when I login with root.
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.
×