SSH Connection timed out
To connect to linode server on my windows laptop,
I tried ssh using the linode server ip on windows command prompt.
But it shows 'connection timed out' error.
How can I fix this?
Thank you.
1 Reply
First, at the terminal command prompt see if you and ping the server.
ping -c5 xxx.xx.xxx.xx (put in your IP address)
You will get lines of output like this:
PING xxx.xx.xxx.xx (xxx.xx.xxx.xx): 56 data bytes
64 bytes from xxx.xx.xxx.xx: icmp_seq=0 ttl=50 time=14.874 ms
64 bytes from xxx.xx.xxx.xx: icmp_seq=1 ttl=50 time=16.203 ms
64 bytes from xxx.xx.xxx.xx: icmp_seq=2 ttl=50 time=16.430 ms
64 bytes from xxx.xx.xxx.xx: icmp_seq=3 ttl=50 time=19.331 ms
64 bytes from xxx.xx.xxx.xx: icmp_seq=4 ttl=50 time=17.260 ms
--- --- xxx.xx.xxx.xx ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 14.874/16.820/19.331/1.471 ms ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 14.874/16.820/19.331/1.471 ms
If you can ping, then I'm sure you will find the answer here:
https://www.linode.com/community/questions/10942/ssh-port-22-connection-refused
and if not, look here
My bet is that it is a firewall issue on port 22.
Let us know.