New Ubuntu droplet with SSH setup asking for password

I have setup an Ubuntu 18.04 droplet with SSH but after completing access through terminal using the privatekey on my laptop, Ubuntu is asking for a password to change. What gives? I don’t have a password.


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.

Hi @neo2049,

It seems like you’ve requested a password change. No worries, if you are using your SSH key to enter you can change it anytime you wish.

Anyway, here is how you can actually change the Password for your root. Please read it and see if you’ve actually done anything to have this prompt appear.

Changing user password in Ubuntu is dead simple. In fact, it’s the same with any Linux distribution because you use the generic Linux command called passwd for this purpose.

If you want to change your current password, simply run this command in a terminal:


You’ll be asked to enter your current password and the new password twice.

Regards, KDSys