Report this

What is the reason for this report?

How to add shh key to droplet?

Posted on November 5, 2014
  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?



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!

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 comment has been deleted

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

https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/create-with-putty/

https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps

Hope that this helps! Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.