Home
/
Advanced Site Tools
/
SSH
/
"Permission denied (publickey)" error when connection over SSH

"Permission denied (publickey)" error when connection over SSH

Disabling SSH access from the Site Scanner could cause this error message. If you have purchased Site Scanner for your website, you can confirm that your website’s SSH access was not disabled from Site Tools -> Security -> Site Scanner -> Site Protect -> Disable SSH.

This error comes up when using a wrong private key or no key at all when trying to connect via SSH. To resolve the problem, you should generate a new key pair and connect using that new set of keys. A quick way to generate new keys is in Site Tools > Devs > SSH Keys Manager. You can follow the instructions in this tutorial to generate the key pair.

After that, make sure to follow the instructions on connecting via SSH to your account in the respective article below:

How to log in to my SiteGround shared account via SSH using PuTTY?
How to log in to my SiteGround shared account via SSH in Mac OS?
How to log in to my SiteGround shared account via SSH in Linux?

Share This Article