Question

First putty connection failed during password change

Posted September 22, 2014 9.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 - https://www.digitalocean.com/community/questions/i-can-t-change-my-password-on-putty-or-others-when-i-changed-my-password-the-window-was-closed-automatically-but-there-s-no-change-with-my-password-debian-7 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.

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:

Submit an Answer