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
- Log in to WHM with permission to manage the account.
- Open Account Functions > Manage Shell Access.
- 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.
- 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
- Generate an SSH key pair on the user’s own device.
- In the user’s cPanel account, open Security > SSH Access > Manage SSH Keys.
- Import the public key and authorise it.
- 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.