Secure Shell (SSH) is a powerful network protocol that allows you to access and manage your hosting server remotely.
By enabling SSH in cPanel, you can run commands, upload files, and perform other advanced tasks on your server securely.
In this guide, we will walk you through the simple steps to enable SSH access in your cPanel account, so you can take full control of your hosting environment.
Whether you're managing websites or configuring server settings, SSH is an essential tool for advanced server management.
Tabel of Content :
- Generate ssh on terminal
- Manage ssh access in cPanel
- Test ssh connection
Generate ssh on terminal
Open your terminal and generate ssh key with this command "ssh-keygen -t rsa -C youremail@demo.com"

you will get 2 files ( private and public key ). we have to import these keys to our cpanel. let's go to cpanel.
Manage ssh access in cPanel
Login to your cpanel and search "SSH Acces". please refer this screen shoot.

Click on Manage SSH Keys

Click Import Key

import your private key and public key as the following screen shoot.

our key will be added as the following screen shoot.

but our key can not be used until we authorize it.
Test ssh connection
From now we can access our server through ssh connection.
pls login to your server with the following command.
ssh -i demo cpanelusername@server-ip
ok finished.
Thank you for taking the time to read my article.
I hope you find it helpful.
Please feel free to reach out if you have any questions or would like to discuss further.