New installation. Can't change or use current UNIX password.

If I log in to the ubuntu server via ssh, type in the password from the mail everything works fine. But as soon as I type in my new password, where it says “(current) UNIX password: ”, I am losing the connection and it says “Connection to closed.”.

This does not work for me either. When I do access the Access, it doesnt show any password. The only option is to reset root password, which doesnt change the error i’m having. Please advise.

I just want to start using my centos installation but whatever I do, it just closes the connection.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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

Hi @alexandrexroberge,

You can reset the root password from your Control Panel and a mail will be send over to you with it. As soon as you have the password you can login via SSH

ssh root@YourDropletIP

Once you have logged in, type in the following command


This command will change the password on your current user. As you have logged it with root it will change the password for that user.

Regards, KDSys