How to Enable SSH Access in cPanel Account
Posted about 4 months ago 4.4kPrerequisites First
Required: WHM must allow shell access for the account.
Generate SSH Key Pair
cPanel → SSH Access → Manage SSH Keys → Generate New Key.
Authorize Public Key
Import or paste public key → Authorize.
Connection Methods
SSH Terminal Command
ssh username@yourdomain.com -p 22
ssh username@server-ip -p 2222
Common Errors Table
| Error | Solution |
|---|---|
| Permission denied | Re-authorize key |
| Connection refused | Check port/firewall |
| Jailed shell only | Request full SSH from host |