How to add shh key to droplet?

Posted November 5, 2014 2.7k views

1) I created key using puttygen.
2) Added public key to /.ssh/authorized_keys.
3) Restarted ssh
4) Added ssh private key to putty, trying to connect and droplet still ask for user+password.

p.s. what did i wrong?

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.

Submit an Answer
3 answers

how do you add they key to putty? use pegeant to manage ssh keys.
also, check your sshd_config if it is set to accept ssh keys

Hello there,

You can check these two articles in order to create your ssh-keys and then access the droplet using the PuTTY ssh-client

Hope that this helps!

by Pablo Carranza
This tutorial runs through creating SSH keys with PuTTY to connect to your virtual server.