Use SSH Access Print

  • 161

Dedicated and VPS

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

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 in to WHM.
  2. From 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 in to WHM.
  2. From 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.

How Do I Use It?

Root SSH will allow you to access server processes. 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.


How Do I Connect to My 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. Log in 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 Ddedicated & VPS. Dedicated or VPS have the option of logging in with the root WHM username and password.)


Was this answer helpful?

« Back
© HostIcon. All rights reserved. Logo and name is a registered trademark of Space Technologies.