Hi All:
I have been reading and utilizing 000000000's exceptional "A Beginners Guide to Securing Your Server", but have hit a bit of a snag.
Every time I attempt to change the port to a number other than 22 per the instructions, I can't SSH in any longer. Not as root (which is disabled anyway) or as the other user in the wheel group. I either get "Access Denied" or "No address associated with nodename". I have restarted the ssh services both through the terminal and on WHM. A couple of times I've had to use the nifty little script that Chirpy supplied (thank God he's not evil) to get back into the server via SSH.
Now, as I said, I am following the guide step by step, so I haven't gotten to the part where I would install the firewall, so it isn't like I forgot to open the new port on the FW.
Is there something painfully obvious I'm missing here? I've searched the forums, as well as Google, but can't find this exact problem.
Thanks in advance for any assistance you might lend.
**Edit**
This is on a VPS running RHL 4
I have been reading and utilizing 000000000's exceptional "A Beginners Guide to Securing Your Server", but have hit a bit of a snag.
Every time I attempt to change the port to a number other than 22 per the instructions, I can't SSH in any longer. Not as root (which is disabled anyway) or as the other user in the wheel group. I either get "Access Denied" or "No address associated with nodename". I have restarted the ssh services both through the terminal and on WHM. A couple of times I've had to use the nifty little script that Chirpy supplied (thank God he's not evil) to get back into the server via SSH.
Now, as I said, I am following the guide step by step, so I haven't gotten to the part where I would install the firewall, so it isn't like I forgot to open the new port on the FW.
Is there something painfully obvious I'm missing here? I've searched the forums, as well as Google, but can't find this exact problem.
Thanks in advance for any assistance you might lend.
**Edit**
This is on a VPS running RHL 4
Last edited: