By vee6
I created a Fedora droplet and added my machine’s public SSH Key (that I happen to use for other services and which seems to work well with other services) to it before creation. After creation I cannot access it via ssh, I get the following message:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I tried to connect to it via console but I get prompted for login and password. I think I should have received them by email or something like that, but I received no email whatsoever. what to do?
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!
Accepted Answer
If you added a public key to your DigitalOcean account and selected that public key during the deployment of your Droplet, you won’t receive a root password as password authentication is disabled when SSH keys are used.
You would need to login and pass the private key associated with the public key you provided.
ssh root@droplet_ip -i /path/to/privatekey
The above works on MacOS and Linux, though if you’re using Windows and PuTTy, you’d need to set the path to your private key in the configuration settings for putty.
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.