How to change default SSH port on CentOS Web Panel (CWP)
- Grab a VPS with at least 512MB of RAM (Recommendation: Hostripples or Hostdens.)
- Install CWP by following my previous guide.
- Perform some basic configuration tasks.
Step 1 – Login to CWP Admin page as root via:
http://server-ip-address:2030/login.php
Step 2 – Now go to Services Config then click on SSH Configuration:
Once you click on SSH Configuration scroll down and you can see an option to Create File Backup
Click on the Button to take the backup . Once the Backup is completed you can see the below message :
Step 3 – Find the Following Line :
#port 22
Remove the # symbol and change the “22” (it is default port) to to any number between 1025 and 65536, For example is port 9999.
Now click on Save Changes and you can see the message :
Done .