How to change ssh port for sshd and CSF Firewall

Video instructions for CWP

Edit /etc/ssh/sshd_config and uncomment line "# Port 22", example for port 8123

nano /etc/ssh/sshd_config
Port 8123

Replace TCP_IN and TCP_OUT port 22 with the new port number

nano /etc/csf/csf.conf

Restart ssh and csf

service sshd restart
csf -r

** Don't forget to change the port in CSF firewall all your ssh will be locked!!!