How Do I Get and Use SSH Access?

HostGator offers SSH (secure shell) access; it is enabled on all hosting accounts by default. Click on a hosting plan below to learn more about how to access SSH for your specific account.

Shared Web Hosting

We offer jailed SSH which is limited to your account only.

How Do I Use It?

Use port 2222 to connect to the server via SSH and log in with your cPanel username and password using the instructions below .

Reseller

We offer jailed SSH as a free service to the primary domain on the account.

If you would like to activate SSH on a sub-account (separate cPanel), there is a one-time charge of $10 per sub-account you would like activated. Please submit your request via the online form. If you have multiple cPanels which need SSH, then you will need to fill out the form for each account.

How Do I Use It?

Use port 2222 to connect to the server via SSH and log in with your cPanel username and password using the instructions below .

Dedicated and VPS

Dedicated Server and VPS customers automatically have root SSH access which allows users to change anything on their server.

How Do I Use It?

Use port 22 to connect to the server via SSH and log in with username root and your WHM password using the instructions 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.

Enable SSH for a New cPanel Account

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

  1. Log into WHM.
  2. From the left navigation menu, click Account Functions > Create A New Account.
  3. Create a new account.
  4. Check the Select Options Manually box. This will allow you to choose between normal shell, jailed shell or disabled shell.
  5. Under Settings, click the SSH Access box.
  6. Click Create at the bottom of the page.

Enable SSH for an Existing cPanel Account

To enable SSH for an existing cPanel account:

  1. Log into WHM.
  2. From the left navigation menu, click Account Functions > Manage Shell Access.
  3. Select the account you wish to modify, then select the type of SSH access to be applied (either normal shell or jailed shell).
  4. Once you have made your selection, WHM will automatically save the changes.

SEO Hosting

For more information on enabling jailed SSH on your SEO Hosting account, please contact SEO Hosting via live chat (button located on their website) with your request. If you have multiple cPanels which need SSH, then you can simply email support@seohosting.com with a list of the domains.

SEO Hosting now has its own support team!

Visit the SEO Hosting website for contact information, including a new phone number (866-692-9231) and updated chat support buttons.

HostGator staff no longer has access to SEO Hosting accounts and all future support requests should be sent to the new SEO Hosting Support Team.

How Do I Connect to My Server via SSH?

Below are instructions on how to connect to a server via SSH with various operating systems.

Windows OS

To access SSH:

  1. Download WinSCP or PuTTY.
  2. Enter your IP address and the appropriate port number.
    • Shared and Reseller accounts - Port 2222
    • Dedicated and VPS - Port 22
  3. Log in with your cPanel username and password. Dedicated and VPS customers have the option of logging in with the root WHM username and password.

Linux OS

To connect to the server via SSH, run the following command from a terminal:

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

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

Port 2222 should be used for Shared and Reseller accounts. Port 22 is the default for Dedicated and VPS accounts. Dedicated and VPS customers have the option of logging in with the root WHM username and password.

Mac OS

To connect to the server via SSH, run the following command from a terminal:

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

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

Port 2222 should be used for Shared and Reseller accounts. Port 22 is the default for Dedicated and VPS accounts. Dedicated and VPS customers have the option of logging in with the root WHM username and password.


cPanelcPanel is a popular web hosting control panel that helps you manage your hosting account and assists you in creating web sites, managing e-mail addresses, & installing applications to a server.

cPanel is available on all HostGator Linux hosting plans, including Shared Hosting, Reseller Hosting, VPS and Linux Dedicated Servers.