Today i changed the default SSH port from 22 to 2022 on my vps, opened it in TCP_IN TCP_OUT but i saw in the CSF that it still says 22 as the SSH port. Is that a problem ?
Steps i took for the change:
1. Edited /etc/ssh/sshd_config and changed the port 22 to 2022 and deleted the #
2. Restarted SSHD service
3. Changed the port in TCP_IN and TCP_OUT from 22 to 2022.
4. Restarted CSF
5. Checked if changes working and they do. SSH is not working on port 22 now but 2022.
6. Checked in CSF Configuration at the end and it still says SSH port 22
Code: Select all
This list is replaced, if present, by "Port" definitions in /etc/ssh/sshd_config PORTS_sshd = 22 (restricted UI item)