Bluehost Web Hosting Help

SSH Access

SSH/Shell is not enabled by default in Legacy accounts. To enable SSH we will need you to verify your hosting purchase. To do this, please see: How to verify your hosting account. Once this is done SSH access may be enabled in the cPanel.

Bluerock accounts come with SSH/Shell enabled by default.

How to enable SSH from cPanel

  1. Log in to your Bluehost cPanel account.
  2. Scroll down to Security, click the SSH/Shell Access icon.
  3. Click the Manage SSH Access button.
  4. Choose Real Shell (Bash) from the drop-down menu.
  5. Click the Submit button.

For additional information on using SSH please see SSH Connections

If you see the error "ERROR: You account must be verified before shell access can be enabled. Please contact our Verification Department to verify your account before continuing." you will need to contact our Verification team to verify your account purchase.

Reseller SSH Access

If you would like SSH access on any cPanel, simply edit or change the package on the cPanel to be set to have Shell Access enabled. The cPanel user will be able to access the Shell by the instructions listed above.

VPS and Dedicated Servers SSH Access

Dedicated and VPS customers automatically have root SSH access. Root shell allows you to change anyone and anything on your server.

If you would like to activate SSH on a sub-account (separate cPanel), simply access WHM with your root login and click the Manage Shell Access link. There you can enable normal and jailed shell for your clients; port 22 for normal and jailed shell.

If you have multiple cPanels which need SSH, you can activate them all within root WHM.

How to use the SSH access

You would use port 22 to connect to the server via SSH and login with username "root" and your WHM password using the directions below. 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.

Connecting to your Server via SSH

See the sections for each hosting type above for specifics about which port and username to use.

Windows

To access SSH:

  1. Download WinSCP or PuTTY.
  2. Enter your IP address and the appropriate port number.
  3. Login with your cPanel username and password.

(Port 2222 would be used for shared and reseller accounts, 22 is the default for dedicated & VPS.  Dedicated or VPS have the option of logging in with the root WHM username and password.)

Linux

To connect run the following command from a terminal:

ssh -p 2222 cpanelusr@ip.add.re.ss

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

(Port 2222 would be used for shared and reseller accounts, 22 is the default for dedicated & VPS. Dedicated or VPS have the option of logging in with the root WHM username and password.)

Mac

To open the terminal in Mac go to Applications → Utilities → Terminal

Then type in the following command:

ssh -p 2222 cpanelusr@ip.add.re.ss

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

Port 2222 would be used for shared and reseller accounts. 22 is the default for dedicated & VPS accounts. Dedicated or VPS have the option of logging in with the root WHM username and password.

Knowledgebase Article 849,104 views bookmark tags: bash command line secure shell ssh


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

What Are SSH Connections - How To Edit In PuTTY, Mac, & Linux

What is SSH and how do I setup secure connections.

SSH/Shell access for Resold account(s)?

How to enable/turn on SSH access for Resold accounts

How Import Databases Using Command Line SSH

This article will instruct you how to import a database from the command line (SSH).

Related Help Content

How To Manage Databases With Command Line SSH

This article will instruct you how to export a database from the command line (SSH).

SFTP

How do I use a secure FTP connection?

SSH Access - Generating a Public/Private Key

How to generate and use SSH Keys

Changing the SSH Port

Explains how to change the SSH port through the root user.

WordPress Access with Maestro

You will be given a WordPress Administrator role once the site owner accepts your request. This article explains what level of access you will be provided once verified.

How To Access cPanel - What You Need / Where To Find cPanel

How do I Access My Account Control Panel?

SSH Commands

Here is a good list of basic SSH commands.

Find and replace across multiple files

How to edit several individual pages to replace a string of text e.g. update the phone number on the footer of every page on your site.