I was going through securing a brand new server with a fresh install of CentOS 4 and for some reason I cannot change my SSH port or it will fail. Only thing to get SSH back is to run the safesshrestart script from WHM.
Currently there is no firewall installed, I was going down the list from the How to secure your server post so really not much has changed on this server minus the Tweak security and updating software on the server.
I even copied the sshd_config from another server exactly and still when I try to restart SSH through WHM it fails.
This is my first install of CentOS that I have set up; maybe there is something I don't know about it that is causing the issue.
Any ideas?
Currently there is no firewall installed, I was going down the list from the How to secure your server post so really not much has changed on this server minus the Tweak security and updating software on the server.
I even copied the sshd_config from another server exactly and still when I try to restart SSH through WHM it fails.
This is my first install of CentOS that I have set up; maybe there is something I don't know about it that is causing the issue.
Any ideas?