Question

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

  • Posted on September 14, 2014
  • michellAsked by michell

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?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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