How to add shh key to droplet?

Posted November 5, 2014 2.5k 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.

1 answer

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

Submit an Answer