Ssh – Traceroute not returning result whereas ssh is working fine

networkingsshtraceroute

Maybe it's a dumb question, so please bear with me as I am novice to networking. While trying to debug a connection problem to a server today I observed the following two things –

I am able to ssh (port 22) on the target server successfully
However, when I run tracert , then I am getting 'request timed out' result.
Does it makes sense? I mean, if I am able to ssh using a FQDN I should be able to tracert (trace route version of windows) as well, is that right? What am I missing here?

Please let me know if I need to give more details.

Best Answer

I am able to ssh (port 22) on the target server successfully However, when I run tracert , then I am getting 'request timed out' result. Does it makes sense? I mean, if I am able to ssh using a FQDN I should be able to tracert (trace route version of windows) as well, is that right? What am I missing here?

It makes perfect sense. If the server (and any firewalls in front of the server) allow SSH traffic inbound to the server but prohibit ICMP traffic inbound to the server then your results are exactly what I'd expect to get. I'm not saying that's definitively the case here, but it sure sounds like it.

Related Topic