SSH Access To Bluehost Servers
This document explains how to access your Bluehost server using SSH (Secure Shell). SSH allows you to securely connect to your server via a terminal, enabling command-line access for advanced tasks like file management and software installation. Follow these steps to establish an SSH connection.
Enabling SSH Access
Log in to your Bluehost cPanel account.
Navigate to the 'Advanced' section.
Click on 'SSH Access'.
If SSH access is disabled, click the 'Enable' button. It may take a few minutes to activate.
Once enabled, you can manage SSH keys or simply use your cPanel password.
Finding Your SSH Credentials
After enabling SSH, look for your server address, username, and port.
The server address is typically your domain name or a server-specific hostname.
Your username is usually the same as your cPanel username.
The SSH port is usually 22, but confirm this in your cPanel's SSH Access area.
Connecting via SSH
Open a terminal or SSH client on your computer (e.g., Terminal on macOS/Linux, PuTTY on Windows).
Use the following command to connect, replacing the placeholders with your actual credentials: `ssh username@yourdomain.com -p port`.
If prompted, enter your cPanel password. If using SSH keys, ensure your private key is correctly configured.
Once authenticated, you will have command-line access to your Bluehost server.
ssh username@yourdomain.com -p 22 |
sftp username@yourdomain.com -P 22 |
exit |
Examples
Tips
FAQ
Q: What if I forgot my cPanel password?
A: You can reset your cPanel password through the Bluehost account dashboard. Look for the 'Change Password' option.
Q: Why can't I connect to SSH even after enabling it?
A: Double-check your username, server address, and port. Ensure your firewall isn't blocking SSH connections on port 22. It may also take a few minutes for SSH to fully activate after enabling.
Q: How do I transfer files using SSH?
A: Use the `scp` command (secure copy) or an SFTP (Secure File Transfer Protocol) client. Many GUI-based SFTP clients are available (e.g., FileZilla, Cyberduck).
This document is for informational purposes only. It is not official and is not affiliated with or endorsed by Bluehost. Information provided here may be outdated and should not be considered professional advice. This document may contain affiliate links.