Question

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

Posted March 16, 2016 3.2k views
Linux BasicsUbuntuSecurityLinux Commands

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.

7 comments

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.

×
1 answer

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.

Submit an Answer