i am facing connection timed out issue while logging via ssh. i tried by resetting root password as well still there is the same issue. i have also checked the ssh service it is active.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello @prakashmantaray,
You can check if the session timeout is set to a low value in the ssh config.
#ClientAliveInterval #ClientAliveCountMax
The ClientAliveInterval parameter specifies the time in seconds that the server will wait before sending a null packet to the client system to keep the connection alive.
ClientAliveInterval 1200
Once done, reload the OpenSSH daemon for the changes to come into effect.
We also have a tutorial on How to Troubleshoot SSH Connectivity Issues
https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/
Regards
Hi @prakashmantaray,
When do you receive the timeout? Does the system show you the login prompt ?
If you aren’t already using SSH keys to connect to your Droplet, I would like you to check these links:
How-to Add SSH Keys to New or Existing Droplets.
How to Upload an SSH Public Key to an Existing Droplet.
Hope that helps you,
Sergio Turpín