WARNING: Security vulnerability! Your server is using default SSH Port 22, to make your server more secure change SSH port in config file /etc/ssh/sshd_config and in CSF firewall !
After changes are done don’t forget to restart SSH and CSF Firewall.
- After login to CWP go to Services Config->SSH Configuration. This will open /etc/ssh/sshd_config
- Then go to Security->CSF Firewall, click the Firewall Configuration button. This will open /etc/csf/csf.conf
- Look for the #Allow incoming TCP ports section and add your port number to the list.
- Save changes
- On cwp dashboard, restart SSH server.
- Then go to Security->CSF Firewall, click the Firewall Restart button