Any SSH related command ends with "Permission denied (publickey)"
I created this Droplet a few months ago. After some time i tried to connect to it again. I got everytime I tried
$ ssh user@server Permission denied (publickey)
So I just tried to follow the steps again in this tutorial:
But anything that connects to the server with SSH (ssh-copy-id) ends abruptly with “Permission denied (publickey)”
The public key I created last was added in Settings > Security > SSH Keys
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.