Question

How do I put my SSH key on my droplet? (Publickey,password in particular)

Hello, I’ve read the tutorial, and I’m sure I’m missing something. I create an SSH key etc. and create a password. But when I go to place it on one of my droplets and it asks for the password, it won’t accept it. It eventually asks for a publickey,password and I’m not sure what to put. I’m very much a novice so did I simply miss something?

Subscribe
Share

When you create an SSH key, it gives you the option to apply a password to it. You can just leave that blank if you want (both times: password, and confirm password)

Then, once you add your public key to the authorized_keys file, you can log in without having to use a password.


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.

This question was answered by @sierracircle:

When you create an SSH key, it gives you the option to apply a password to it. You can just leave that blank if you want (both times: password, and confirm password)

Then, once you add your public key to the authorized_keys file, you can log in without having to use a password.

View the original comment