How to enable SHELL access for a cPanel account through WHM?

By enabling this feature, the cPanel account user can access the server(the User’s home location) via SSH. The server administrator(root user) can only enable this feature for a particular account or for a particular package.

You will get the below pasted error while SSH to your home without enabling the SHELL access feature.

Shell access is not enabled on your account!
If you need shell access please contact support.

Through WHM you can enable this feature simply if you have the root previleage.

Steps for enabling SHELL access.

Method I

There is a simple option in WHM control panel to manage SHELL access for each account/user.

Step 1: Login to WHM

Step 2: Select your options from “Manage Shell Access”

Home >> Account Functions >> Manage Shell Access

Introduction to IAAC [Infrastructure As A Code] tools

It’s time that I had to write an article on IAAC. All giant’s infra are now set and manage as IAAC.

I hope you guys are already aware of these tools and you are already started working on that. This is a simple, straight intro to those tools. This will help you to start your journey as an automation engineer.

Method II

Step 1: Login to WHM

Step 2: Go to ‘Modify an Account’ option and select the particular account from there and click Modify button.

Home >> Account Functions >> Modify an Account >> Select account >> click Modify button.

Step 3: Under Privileges option select the Shell Access option.

Step 4: Then select your own option in Package Conflict Resolution.


Method III

You can enable the SHELL access from your cPanel account’s package itself.


Step 1: Login to WHM

Step 2: Go to ‘Edit a Package’ option and select the particular Package from the list and click Edit

Home >> Packages >> Edit a Package >> Select Package >> click Edit button.

Step 3: Under Settings option select the Shell Access option

Step 4: Save changes.

That’s it. 🙂