Report this

What is the reason for this report?

New Ubuntu droplet with SSH setup asking for password

Posted on November 24, 2019

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.



This textbox defaults to using Markdown to format your 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:

passwd

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

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.