Question

New Ubuntu droplet with SSH setup asking for password

Posted November 24, 2019 238 views
SecurityUbuntu 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.

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

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:

passwd

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

Regards,
KDSys

Submit an Answer