Knowledge Base
MilesWeb / Web Host Manager

How To Enable Or Disable SSH/Shell Access For End Users In WHM?

Approx. read time : 3 min

On the basis of the customized packages that you have set up for your user accounts, some of the users might have Shell access while some users won’t.

This tutorial will provide you steps for managing Shell Access (SSH) for the web hosting accounts that you create on your server.

Steps For Enabling SSH:

  • Login to WHM.
  • In the ‘Account Functions’ section, click on the option – ‘Modify an Account’.
  • Select the user account for which you want to enable SSH and click on the option ‘Modify’.
  • Select the check box for the option ‘Shell Access’.
  • Click on ‘Save’.
  • A pop-up window will be displayed that will provide you with the options like setting up a new package with the selected values, to update the current package, to set the account with no package or to keep the account with the existing package. Click on the suitable option and click on ‘Proceed’.
  • When the process is completed, a success message will be displayed.
  • Your next step is to ensure that SSH is enabled for this user account in the WHM ‘Feature Manager’ as well. You will find the SSH option under the Packages section.
  • Select the list that you want to change and click on the ‘Edit’ option. This will direct you to a page with available features. Locate the SSH Access feature and make sure it is ticked.
  • Click on the ‘Save’.

After completing this process, the user for whom you have enabled the SSH option will be able to directly manage it through cPanel > SSH/Shell Access that is located in the ‘Security’ section.

SSH/Shell Access will enable the user to create, import and manage SSH keys that are used for SSH authentication.

Disabling SSH

  • Login to WHM.
  • In the ‘Account Functions’ section, click on the option – ‘Modify an Account’.
  • Select the user account for which you want to enable SSH and click on the option ‘Modify’.
  • Uncheck ‘Shell Access’.
  • Click on ‘Save’.
  • Make sure that you disable the Shell option from the Feature Manager as well. Go to the Packages section > Feature Manager > Choose the features list > Edit > Remove the tick from the option – ‘SSH Access’.
Avatar
My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.
Need help? We’re always here for you.