Having trouble with SSH on your Droplet? View solutions for common SSH problems.

Edit your Droplet’s sshd_config file to change its SSH port.
If you lose the private SSH key you use to log into a Droplet, you need to re-enable password authentication to recover access.
You may be receiving this error for various reasons, including a missing SSH key or incorrect password.
Problems with SSH authentication includes permission denied with SSH keys and passwords.
Problems with SSH connectivity include hostname resolution errors and connections being refused or timing out.
Problems during SSH protocol initiation include the client suddenly getting dropped or closed, the client returning errors about cipher negotiation, or issues with an unknown or changed remote host.
Problems with SSH shell environments include being unable to fork a process, the system reporting it’s not a valid shell, or issues reaching the home directory.