Report this

What is the reason for this report?

How can I remove password after adding SSH key as I was set up originally................................................

Posted on September 14, 2014

I originally up the droplet with an SSH key and no password. then I added a password hoping I could look at my files via FTP and of course that didn’t work. I need to go back to having no password since this is for a class and that is the requirement

How can I have no password again?



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.

Your password was set to a random string when you created your droplet, but it wasn’t sent to you by email because you selected an SSH key. You can change root’s password to a random string by running:

echo "root:$(openssl rand -hex 18)" | chpasswd

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.