Bluehost 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.
Recommended Help Content
Change a MySQL Users Password
This article will explain how to change or reset the password for a MySQL user.
How To Change SMTP Port From 25 To 26 - Email Troubleshooting
How can I change the outgoing SMTP port from 25 to 26?
How to Change Ports in Eudora 6.0 and Up
I need to be able to change the port used by Eudora for incoming or outgoing mail.
Related Help Content
Is SSH/Shell access enabled by default?
cPanel says "You are logged in using the root or reseller password."
Explanation of the cause of the warning and how to remove it.
Shared vs. Dedicated IPs & Port Access
What is the difference between a Shared & Dedicated IP? How do I get Port Access? What type of SSL Certificate is right for me?
Manually Changing the Domain of Your WordPress Site
How to change the name of your WordPress site without WP Tools
Changing the Password for a Resold Account
How to change the password for a Resold account.
VPS or Dedicated Hosting - Modify Exim Port (Mail Transfer Agent)
How to modify the Exim Port (Mail Transfer Agent) in the WHM
SSH/Shell access for Resold account(s)?
How to enable/turn on SSH access for Resold accounts
Open New Ports
How can I gain access to blocked ports? What port numbers can be opened?