Why My SSH Key won't work?
So, I’ve set up quite a few SSH Keys, but my latest key doesn’t seem to be working. I’ve done what I’ve always done; copied the key directly from ~/.ssh/id_rsa.pub and pasted it into the Key(s) section on the Security Page in my DigitalOcean account panel.
This is the second key i’ve added, the first key still works. I’ve even tried restarting the service (even though I’ve never had to do that before).
I’m sure it’s my fault, something like I’ve just forgotten a simple step…
[USER]@[DROPLET-DOMAIN]; Permission denied (publickey).
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.