Hello,
I am looking for a bit of advice and a bit of technical help.
Recently we had our server MySQL and some of our site files altered/hacked and our mailserver abused. I have just finished 4 days of cleaning up and fixing things and upping the security.
One thing happened that was really annoying was that SSH fell over and I couldn't restart it from WHM. I contacted our VPS host and got this response (which took over 24 hours to be resolved).
Second, I don't know if this is something I should allow from a security point of view, but a 24 hour wait for someone else to restart the service when it fails is not good from a business point of view if we are having issues only resolvable via SSH.
And thirdly, if it's safe, exactly how would I go about allowing WHM access to restart the service?
Thanks for reading!
I am looking for a bit of advice and a bit of technical help.
Recently we had our server MySQL and some of our site files altered/hacked and our mailserver abused. I have just finished 4 days of cleaning up and fixing things and upping the security.
One thing happened that was really annoying was that SSH fell over and I couldn't restart it from WHM. I contacted our VPS host and got this response (which took over 24 hours to be resolved).
First, I am definitely an amatueur when it comes to managing a WHM/cPanel server.We were able to restart your server's sshd process by renaming the pid file for the old process. Please note that since you have SSH connections blocked by default in your /etc/hosts.allow, this will block the cPanel wrapper that attempts to connect to the server through SSH to check the service status, so if you restart the server through WHM again without updating your configuration, you will probably receive an error.
Second, I don't know if this is something I should allow from a security point of view, but a 24 hour wait for someone else to restart the service when it fails is not good from a business point of view if we are having issues only resolvable via SSH.
And thirdly, if it's safe, exactly how would I go about allowing WHM access to restart the service?
Thanks for reading!