How to allow SSH/Shell access for a cPanel user via WHM ?

Linux Dedicated server WHM allows to control SSH access allow/disallow for your individual cPanel’s. The SSH (secure shell) network protocol allows you to connect to another web server over the Internet via a command line interface (CLI). You can use this network protocol to remotely manage your server, configure CGI scripts, and perform other tasks.

Use of SSH access for a cPanel user

By using SSH you are able to move freely through your hosting account file structure. You can also perform tasks such as live monitoring logfiles and starting and stopping services (for VPS and Dedicated customers only). You can even use it to install software to your account or manage your MySQL databases. It allows you to do much more than a standard web-based graphical interface allows and after a short learning curve is much faster. Some content management systems have their own command line interfaces, such as WordPress CLI and Drupal’s Drush.

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. Click on Account Functions > Create A New Account
  3. Check the Select Options Manually box. This will allow you to choose between normal shell, jailed shell or disabled shell
  4. Under Settings, click the SSH Access box
  5. 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. Click on 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)

Once you have made your selection, WHM will automatically save the changes.