How to change default SSH port on CentOS Web Panel (CWP)


Cheap reseller Hosting


centos-web-panel

 

 

Step 1 – Login to CWP Admin page as root via:

http://server-ip-address:2030/login.php

cwp1

 

 

 

 

 

 

 

 

Step 2 – Now go to Services Config then click on SSH Configuration:

cwp2

 

 

 

 

Once you click on SSH Configuration scroll down and you can see an option to Create File Backup

cwp3

 

 

 

Click on the Button to take the backup . Once the Backup is completed you can see the below message :

cwp4

 

 

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.

cwp5

 

 

 

 

 

 

Now click on Save Changes and you can see the message :

cwp6

 

 

 

Done .

 

 

 


Cheap web Hosting