Ask Your Question

Unknown ssh connection timeout

asked 2014-06-25 06:28:02 -0500

fergatron gravatar image

Hi folks,

I'm not sure what's going on with my ssh, but I am unable to connect to it from outside my router. My local ip is and I can ssh into that just fine. I restarted the router yesterday, reinstalled openssh, and even tried the public IP address to no avail. I also disabled the firewall (in Fedora) to see if that was messing with it.

The odd thing is it worked once and then after that connection timeout. Are there any other tests I can do to see what's wrong with my router?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-06-25 08:07:45 -0500

cobra gravatar image

It is entirely possible that your router is not allowing traffic from inside your network to pass out and back in through your public IP address.

Check your router's firewall to ensure it's forwarding the port correctly and test it with something that's outside of your LAN - a mobile phone with a data connection (not on your WIFI or connected to your network in some other way). I use that to test these kinds of connections.

You shouldn't have to reinstall openssh every time you want to make an ssh connection.

edit flag offensive delete link more



+1. Seems like a router issue. Hardly anything the OS is doing here. Probably a port forwarding issue.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-06-26 23:29:40 -0500 )edit

answered 2018-11-26 00:29:00 -0500

Rehxia gravatar image

An ssh connection timeout indicates that the client attempted to establish a network socket to the SSH server, but the server failed to respond within the timeout period it can be easily resolved by the following link follow here Error Code 51330 also try to testing other hosts using the same port with a known working SSH server.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-06-25 06:28:02 -0500

Seen: 554 times

Last updated: Jun 25 '14