Hi all, I’m trying to set up a cloud Nagios solution and am wanting to have tests running that check the connection speed over ssh. however no ssh connection I try to make from the droplet is getting anywhere, they hang immediately and eventually time out. there’s no log on the receiving servers about the attempts either. I have a suspicion that there is a firewall rule outside of my control that blocks this. but I want to make sure. Does anyone have any information?
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
This sounds like a Firewall issue, follow the suggestion by Bobby and see if outgoing
udpconnections are blocked.
If you’re planning on using Nagios you’ll need to have a custom Firewall configuration, using
ufwis an option, but this can be modified according to your needs.
We do have an article that covers the process of installing Nagios 4 on an older version of Ubuntu but you can still use it as a reference point.
What I could suggest is making sure that the outbound connections from your Droplet itself are not being blocked, you could do that with a quick
telnettest to PortQuiz:
If the connection is successful this will verify that the problem is not with the Droplet itself but the server that you are trying to SSH to.
If the above telnet command fails, the it means that it is a firewall on your Droplet or a Cloud Firewall that the Droplet is attached to, that is blocking the outbound TCP connections.
Let me know how it goes!