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

  • Posted 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 comment has been deleted

Submit an 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