SSH connection timed out. it’s not client or server…what now

linuxsshtimeout

I have been using a Linux server via SSH for months, it still works from other locations but for some reason, this week, it isn't working from the office.

Putty says "Connection timed out"

Is there a way to determine where the problem is?
Can i trace route on port 22 or something like that?

Just to clarify. I can SSH to my home Linux box, then SSH to the server. I just can't SSH to the server from work. I have contacted the host and I'm not blocked or blacklisted or anything like that.

Best Answer

You can use traceroute for this, with the options -T for TCP and -p 22 to specify the SSH port. When using these options, you need to run traceroute as root:

 sudo traceroute -p 22 -T sshserver.example.com
Related Question