SSH

Last edited on 29 Mar 2024

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

How do I change my Droplet's SSH port?

Edit your Droplet’s sshd_config file to change its SSH port.

I lost the SSH key for my Droplet

If you lose the private SSH key you use to log in to a Droplet, you need to re-enable password authentication to recover access.

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

You may be receiving this error for various reasons, including a missing SSH key or incorrect password.

How to Troubleshoot SSH Authentication Issues

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

How to Troubleshoot SSH Connectivity Issues

Problems with SSH connectivity include hostname resolution errors and connections being refused or timing out.

How to Troubleshoot SSH Protocol Issues

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.

How to Troubleshoot SSH Shell Environment Issues

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.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.