closing port 22, any implications
Chaps.
I've considered moving ssh from port 22, however, as I don't really know how to use it yet, or how to edit the config file either, i've decided to close it temporarily in CSF.
My thoughts being, that if i need it, i'll open it again via WHM/CSF.
What are the implications, if any. ?
-
It seems that you want to change the SSH port. You have to edit /etc/ssh/sshd_config file and uncomment Port option and set port as per your choice. The in csf firewall TCP_IP remove port 22 and add the port which you set in sshd config file. 0 -
I tried something similar last week, but couldn't quite figure out the editor, and being really busy with other projects, didn't really have time to investigate further. 0 -
ConfigServer Explorer is a very useful tool to have if you're uncomfortable with SSH. Of course you'll need to login via SSH to install it. ;) This thread is a bit long winded, but should be useful: [Tutorial] Interested in increasing the security of your server? Read this. (sshd hardening) And there's this doc: How to Secure SSH - cPanel Documentation 0 -
I don't think that I'm overly concerned (or am I ??.. I must be otherwise i wouldn't be asking) I've blocked all IP's against brute force in CPHulk. Out of every IP in the world, only 3 are in the whitelist. I've blocked a number of counties in CSF deny list. I've denied access to ALL in "Host Access Control" for SSHD, FTP and WHOSTMGRD. And ive removed access to port 22 in CSF for IP4 and IP6. is there anything else i should consider as well as maybe moving port 22 and removing root access. 0 -
Sure, there's lots of security concerns to be considered. Always be concerned, always, when it comes to security. Recommended Security Settings - cPanel Documentation Changing SSH port is one of the very first things you should do, IMHO, and far from the last. 0
Please sign in to leave a comment.
Comments
5 comments