WebGee DocsDocs
Reseller Hosting

Enable SSH for a customer's account

Grant SSH access to a cPanel account from WHM, either for one account or for every account on a package.

Give a customer's cPanel account command-line access. Applies to reseller accounts with WHM.

SSH is off by default on new accounts. Enable it for a single account, or for every account on a package.

SSH gives full read and write access to that account's files. Enable it only for customers who have asked and who need it — a compromised account with SSH is considerably more useful to an attacker than one without.

For one account

  1. Sign in to WHM.
  2. Search for Modify an Account.
  3. Select the account.
  4. Under Privileges, tick Shell Access.
  5. Select Save.

The change takes effect immediately.

For every account on a package

Better if you sell a plan that includes SSH — new accounts then get it automatically rather than each needing a manual change.

  1. In WHM, search for Edit a Package.
  2. Select the package.
  3. Under Settings, set Shell Access to enabled.
  4. Select Save Changes.

Editing a package changes what new accounts get. Existing accounts on that package are not updated retroactively — use Modify an Account for those, or re-apply the package under Upgrade/Downgrade an Account.

Check it worked

Ask the customer to connect, or test it yourself:

ssh theircpaneluser@theirdomain.com -p 22

They can then follow Connect over SSH for key setup and troubleshooting.

Jailed versus normal shell

WHM offers both. Jailed shell confines the user to their own home directory and is the right default for a hosting customer — they get the tools they need without visibility of the wider filesystem. Normal shell is rarely appropriate on a shared server.

On this page