What password should I use for a newly created ssh public key?

I have been trying to create an ssh key for my droplet. I have followed the Digital Ocean documentation on it and I can’t seem to get it to work.

I run the following commands from the documentation however when it asks me for the password in the final step I don’t know what to use as a password?

I have used my root password and it does not work.

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.

This question was answered by @gparent:

It looks like you didn’t properly authenticate with the key, so it’s falling back to password authentification. You’ll want to review authentification logs and verify the SSH key has been correctly added to authorized_keys, and that your client is sending it.

You can see the comment here.