I can not access my droplet , via ssh , it says connection timeout. I have loginto web console. then enable disable, add ssh rule into firewall but nothing work. always show connection timeout. How to get rid of form this ?
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi @fftfaisal,
Looking at the answer given already and you confirming the firewall has been disabled, another possibility would be the firewall on your computer or your network’s router rules.
First, see if on your own personal computer you’ve allowed outgoing connections to port 22 (your SSH port) and if it’s blocked, allow them.
Secondly, if you are still experiencing these issues, try using another network to see if that would help out.
Regards, KFSys
Hello, @fftfaisal
Could you please let me know if you’ve done any recent changes on the droplet like adding custom Firewall rules?
You can try to ssh with adding the
-vvv
argument as it will provide a more verbose output.ssh -vvv IPaddress
You can also debug the ssh connection from the server itself by opening the ssh daemon on different port using this command:
an example command is:
You can then ssh from your machine to the server on the custom port using
-p
argument in the ssh command. It will show debug info and then the process will end once the connection either succeeds or fails.Regards, Alex