By shanegibbs91
I’m having a problem connecting to my Droplet I just created: It keeps asking for a password even though I have setup SSH keys.
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!
You have probably added a private password to the SSH key, try to use that password. If you got no idea what password you need to use, you can reset your password at your DO control panel and you can login again afterwards you get an email.
Hello all,
In cases like this one you can also specify the exact ssh-key that you want to use for the connection. It’s not uncommon to have more than one pair of ssh keys to access different droplets/servers and some of the keys might be password protected as well. In order to specify the key you can use the following command:
- ssh -i path_to_key root@DropletIP
You need to replace the path with the actual path to your key. An example is:
- ssh -i ~/.ssh/id_rsa root@DropletIP
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.