Skip to main content

closing port 22, any implications

Comments

5 comments

  • 24x7ss
    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
  • keat63
    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
  • Infopro
    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
  • keat63
    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
  • Infopro
    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.