Empty sshd_config file
Posted
by
Thomas
on Server Fault
See other posts from Server Fault
or by Thomas
Published on 2012-06-12T09:41:36Z
Indexed on
2012/06/12
10:41 UTC
Read the original article
Hit count: 272
I run a Centos 5 server with a LAMP stack. I was told this morning that the server was down not serving web content. I then tried to restart httpd but it failed due to another process was listening on port 443. I checked what process was running on 443 using netstat and it was sshd. I then checked the sshd_config file to check the ports that sshd was running on but the sshd_config file was completely blank.
I than ran chkrootkit and it flagged not suspicions. What could of caused the sshd_config file to be blank, and sshd service to be restarted?
I would really value your thoughts.
All the best.
© Server Fault or respective owner