Manage SSH keys and secure server access
Authorise a trusted public key without sharing its private counterpart.
Where Tools → Security → SSH Access → Manage SSH Keys
Before you start
- Confirm your plan permits SSH and obtain the correct hostname, username and port from support.
- Use a private key protected on your own device. An FTP subaccount does not necessarily have SSH access.
Steps
-
1
Review existing keys before creating another. For a key made on your device, use Import Key and supply the public key; avoid transferring the private key unnecessarily.
-
2
If generating a pair in cPanel, choose the required type/size and a strong passphrase, and store the private key securely.
-
3
In the public-key list, use Manage then Authorize for the intended key when you are ready to grant access. Importing a key and authorising it are separate steps.
-
4
Configure your SSH client with the correct host, port, username and private key. Verify the server fingerprint using trusted provider information before trusting a new host.
-
5
Deauthorise keys that no longer need access. Confirm you have another working access method before removing your own only key.
-
6
Open SSH Access and click Manage SSH Keys.
Manage SSH Keys opens public/private key management.
Check it worked
- Test from the intended device and confirm the correct account opens.
- A failed login may reflect disabled shell access, the wrong user or an unauthorised key—not just the key password.