When I try to log in to SSH I get a Permission Denied error

Validated on 4 Oct 2022 • Last edited on 18 Mar 2026

Note
If you’re struggling with SSH and server management, try our managed products: Cloudways deploys pre-installed software stacks onto Droplets, and App Platform deploys and scales apps directly from your code repository, along with databases and serverless functions.

There are a few reasons why you could be getting a “Permission Denied” error when attempting to log in using SSH. If you receive this error, check for the following issues:

  • The password is incorrect
  • The SSH key is missing on your local computer or on the Droplet
  • You are trying to use a password, but PasswordAuthentication is disabled in sshd_config
  • You are trying to use an SSH key, but key based authentication is disabled in sshd_config
  • The authorized_keys file has the wrong permissions 

If you’ve checked for all of these conditions and are still receiving a “Permission Denied” error, you can use the Recovery Console to regain SSH access.

How to Troubleshoot SSH Authentication Issues

Problems with SSH authentication includes permission denied with SSH keys and passwords.

How do I fix a "system not initialized" error on multi-GPU Droplets?

Make sure NVIDIA Fabric Manager is running and has the same version number as the GPU drivers.

Why am I getting a Droplet autoscale pool error?

There may be an issue with the autoscale pool or Droplet configuration, the VPC network’s size, or resource limits on the team or datacenter.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.