I had ssh running on my LAN server. Suddenly (not sure what I did), I cannot access the LAN server via ssh. When I try, it just hangs for a while with no response and finally comes out with a timed out message.
ssh: connect to host 192.168.1.50 port 22: Connection timed out
As I recall, maybe I got into some trouble trying to install phpmyadmin and pgmyadmin. Still cannot get that going either but this question is for SSH. I just can't reach my own LAN server from my own desktop.
Not sure if it matters, but I have TWO network cards and one's meant for Internet connection and the other just connects to the LAN.
Any ideas please, on how I can fix this?
EDIT:
Here's the output of my route command
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
ps -ef | grep ssh? Have you tried restarting it withsudo ssh restart? – maggotbrain Jan 22 at 6:57