First putty connection failed during password change

Posted September 22, 2014 11.1k 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.

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.

Submit an Answer
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: