By neo2049
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.