First putty connection failed during password change

September 22, 2014 4.3k views

I've created droplet with ubuntu and wordpress(one-click install). Tried to connect - it automatically suggest me to change password. I've type new password and putty turns off. Same situation with winSCP. Googling does not help - shows only just this situation - which is useless, cause I even can't type sudo passwd or else commands.

1 Answer

Are you entering your current password first? This seems to trip some people up. The flow should look like:

You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 

Note that the first prompt is for the current root password. The one that is emailed to you. If that is entered incorrectly, you will be logged out and the password will not have changed.

If you're still having issues, you can reset the password in the DigitalOcean control panel:

Have another answer? Share your knowledge.