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.
- Log in to WHM.
- From left navigation menu, click Account Functions > Create A New Account.
- Create a new account.
- Check the Select Options Manually box (this will allow you to choose between Normal Shell, Jailed Shell or Disabled Shell).
- Under Settings, click the SSH Access box.
- Click Create at the bottom of the page.
Enable SSH for an Existing cPanel Account
To enable SSH for an existing cPanel account:
- Log in to WHM.
- From left navigation menu, click Account Functions > Manage Shell Access.
- Select the account you wish to modify, then select the type of SSH access to be applied (either Normal Shell or Jailed Shell).
- 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:
- Download WinSCP or PuTTY.
- Enter your IP address and the appropriate port number.
- 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:
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:
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.)