New Ubuntu droplet with SSH setup asking for password

November 24, 2019 112 views
Security Ubuntu 18.04

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.

1 Answer

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.


Have another answer? Share your knowledge.

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