Loading...

Knowledge Base
Switch to Bluehost and get money back
Migrate your WordPress website from your current host and we'll cover the costs.

What is SSH Access and How to Enable It in Your Hosting Account

What is SSH Access?

SSH (Secure Shell) access has become an integral part of modern computing, because it allows users to remotely access and manage their systems with enhanced security. It creates a secure and encrypted connection between a user's device and a remote computer, typically a server. If someone tries to intercept the connection, they will only see encrypted and meaningless data that requires decryption. SSH uses advanced encryption techniques that make it extremely challenging for outsiders to decrypt the data.

Learn how to enable and use SSH keys for the following:

Shared Servers: Enabling SSH Command from cPanel

  1. Log in to your Bluehost Account Manager.
  2. Click the Hosting tab in the left-side navigation menu.
  3. Under Quick Links, click the CPANEL button.
    Hosting tab on left menu and CPANEL button under Quick Links
  4. Scroll down and locate the Security section, then click SSH Access.
    SSH Access icon under Security
  5. Click Manage SSH Keys.
    Blue Manage SSH Keys button
  6. You can:
    • Generate a New Key - Use this if you don't have an SSH key yet to use for authentication.
    • Import Key - You may have already generated an SSH public/private key pair. You can import them by pasting the keys into the empty fields on your screen. You don't have to import both keys. Importing a public OR private key is acceptable if that's all you need on the server.
      Blue Generate a New Key and Import Key buttons
  7. If you already have an SSH Key generated, you can also use the ADVANCED tab in your system settings to enable SSH for remote access to your device.
    Websites tab, Advanced tab, and SSH Keys tile with toggle switch to enable SSH

For additional information on using and running SSH commands, please explore the following articles:

Important Note: If you see the error, "ERROR: Your account must be verified before shell access can be enabled. Please contact our Verification Department (888-401-4678) to verify your account before continuing." You will need to contact our verification team to verify your account purchase.

VPS and Dedicated Servers: Enabling SSH Command from WHM

  • Dedicated and VPS customers automatically have root SSH access. Root shell allows you to change anyone and anything on your server.
  • If you want to activate SSH on a sub-account (separate cPanel), access WHM with your root login and click the Manage Shell Access link. There, you can enable normal and jailed shells for your clients; port 22 for a normal and jailed shell.
  • If you have multiple cPanels that need SSH, you can activate them all within root WHM.

Tip: For VPS/Dedicated Servers, we have two methods of accessing your server:

  • Option 1: via Console and Option
  • Option 2: via SSH using third-party Terminal Programs

How to use SSH Access

Using the directions below, you would use port 22 to connect to the server via SSH and log in with username "root" and your WHM password. If you enable shell access for individual cPanels, the SSH username and password would be the same as the cPanel username and password for those accounts. Root SSH will allow you to access the server processes.

Option 1. Connecting to your server via Web Console for SSH

We offer a Web Console for SSH terminal access, which simplifies the process by only requiring users to know the root username and server password.

Note: You can open the web console for SSH by clicking on the SYSTEM CONSOLE button under Quick Links within your account.
SYSTEM CONSOLE button under Quick Links

Option 2. Connecting to your server via SSH

Port 22 would be used for shared and reseller accounts; 22 is the default for Dedicated and VPS. Dedicated or VPS can log in with the root WHM username and password.

Windows

To access SSH:

  1. Download WinSCP or PuTTY.
  2. Enter your IP address and the appropriate port number.
  3. Log in with your cPanel username and password.
Linux
  1. To connect, run the following ssh command from a terminal:

ssh -p 22 [email protected]

  1. Replace cpanelusr with your username and ip.add.re.ss with your IP address.
Mac
  1. To open the terminal in Mac, go to Applications → Utilities → Terminal.
  2. Type in the following ssh command:

ssh -p 2222 [email protected]

  1. Replace cpanelusr with your username and ip.add.re.ss with your IP address.

Summary

SSH (Secure Shell) access is a secure method for remotely managing systems. This provides you a way to access and control servers over an encrypted connection. This encryption ensures that any intercepted data appears meaningless without decryption. Users can enable SSH access for shared servers through cPanel by generating or importing SSH keys. For VPS and dedicated server customers, root SSH access is automatically available, which offers them complete control over the server. Enabling SSH on individual cPanels within these servers is also possible via WHM. We hope this guide has helped you realize the importance of account verification for security purposes.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

 
* Your feedback is too short

Loading...