An administrator can allow a cPanel account to connect to the server using SSH. This grants shell access to that account; it does not start or configure the server’s SSH service.

Enable shell access

  1. Log in to WHM with permission to manage the account.
  2. Open Account Functions > Manage Shell Access.
  3. Find the account and choose the appropriate shell option. Use Jailed Shell where it meets the account’s needs and the server’s configuration supports it.
  4. Check that the account’s shell setting has changed.

You can also change Shell Access under Modify an Account > Privileges. Save the account after changing it and confirm the resulting shell type.

Authorise an SSH key

  1. Generate an SSH key pair on the user’s own device.
  2. In the user’s cPanel account, open Security > SSH Access > Manage SSH Keys.
  3. Import the public key and authorise it.
  4. Test an SSH connection using the account’s username, server hostname and configured SSH port.

Keep the private key on the user’s device and protect it with a passphrase. Do not send private keys to other users. If the connection fails, check the SSH service, firewall and authentication policy with the administrator.