how to change SSH Port ?

Root Folder > Dedicated Servers - Linux

1. From your terminal session, edit /etc/ssh/sshd_config
bash# vi /etc/ssh/sshd_config

2. Look for the following line:
#Port 22

3. Change the line so it looks like this:
Port 2995

4. Save and close the file

5. Load the new configuration
bash# service sshd reload

 

Add Feedback