Report this

What is the reason for this report?

"Permission denied (public key)"

Posted on February 22, 2020

Hi,

Whenever I create a Debian 10 Droplet, I am able to access root using my SSH key just fine. But when I need to setup a non-superuser account and SSH to it, using this guide by DigitalOcean, it keeps on telling me that “Permission denied (public key).” I have followed every step of this guide. I have tried this solution posted here before, but PasswordAuthentication is off for me. You can see my sshd_config here. Can anyone please help me?

Thank you.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.