Question

Permission denied, please try again when logging into droplet with new password

I created a droplet. When trying to access it from my terminal it asked me for the password (I did not use SSH Key). I entered the password I got by email and asked me to change the password right away, which I did.

Changing password for root. (current) UNIX password:

When I entered the password and pressed enter it closed my connection: Connection to xx.xx.xx.xxx closed.

Then I tried to access the droplet again (ssh root@xx.xx.xx.xxx) but it denied me permission (Permission denied, please try again) when I entered the new password.

So I entered the old email password and went thru the same process again, asking me for new password and closing the connection.

So I can not get into the droplet. What am I doing wrong?


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.

Accepted Answer

You need to enter your current password first.

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.