I have a small local server serving a website. The website works fine 24/7, but after a few hours I can no longer connect to the server over SSH. If I try I just get a blank screen, and eventually:
ssh: connect to host 192.168.0.188 port 22: Operation timed out
Meanwhile the website continues to work fine. I've tried to check the logs but can't seem to find anything. What could be wrong?
netstat -plunt | grep ssh shows
0 0.0.0.0:22 0.0.0.0:* listen 1417 sshd 0 :::22 :::* listen 1417/sshd
Ssh localhost also allows me to log in