Just Host Web Hosting Help
Changing the SSH Port
You can find the SSH configuration file at
To edit this file, you will need to log into your server through shell as the root user.
To change specific parameters within sshd_config, you need to uncomment the line by removing the number-sign (#) and changing the value for the line. For example, the default SSH port appears in a line like this:
To change the SSH port to 456, you will need to make the line appear like this:
After you are finished configuring SSH, you will need to restart the SSH daemon. You can do so by issuing the following command:
After you restart SSH, you will need to log out of your server and log in again using the proper user, IP address, and port number you specified in sshd_config.