I was having problems SSHing into my Droplet using SSH keys, so I reset my Droplet’s password. I couldn’t SSH in still, as it was telling me that my password was incorrect, despite it working on the online Console. So, in the console, I used passwd to change my password to something I’d know. Still doesn’t work in SSH (I’m on a Mac), so I have to log in via the online console every time.
Why isn’t my Droplet accepting my passwords when I SSH into it through Terminal?
I tried contacting Customer Support but after 3 days of this happening, and no response from anybody, I am questioning whether or not to even stay with DigitalOcean. This is ridiculous.
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.
If you created your droplet using an ssh key it would not be configured to allow password authentication by default. To fix this you can edit your /etc/ssh/sshd_config
file to ensure that PasswordAuthentication
is set to yes. Then restart the ssh server with service ssh restart
Click below to sign up and get $100 of credit to try our products over 60 days!