Any SSH related command ends with "Permission denied (publickey)"

October 3, 2017 1.1k views
Linux Commands Linux Basics Ubuntu 16.04

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

Any ideas?

Be the first one to answer this question.