login to your server with root >> edit /etc/ssh/sshd_config with your favorite editor either nano or vi >> find the line port in the config file >> you will the default port set there 22 >> change that number to your desire port number e.g.1022 >> save the file and restart the sshd service .
Once thats done edit the /etc/csf/csf.conf file and in incoming ports section add the 1022 , reload the csf or restart the csf service.