How to Enable SSH/Shell Access in cPanel

How to enable SSH in cPanel

You can enable SSH access from your cPanel -> Advanced Section -> SSH/Shell Access.

Once you open the tool, you can generate a new pair of SSH keys. You will need these keys in order to configure an SSH connection from your local computer to the server. The public key is saved on the server and you will have to insert the private in your local SSH software.

You should enter your first name, last name and e-mail account. You can generate a random passphrase or enter a chosen one. Write it down. You will need it in order to establish the SSH connection. In the Allowed IP address field set the IP from which you want to establish the SSH connection. You can use this tool to find your current IP.

Once you are ready, click on the Generate button.

If you already have an SSH pair, you can directly paste the public key in the Public Key text window. Enter the Allowed IP address and Upload button.

In the Manage Current keys section you can view the details for the allowed SSH connections. You can check the comments, a part of the public key and the allowed IPs.

You can remove all the SSH keys or just a chosen one.

You can add more IPs through the Add IP link.

Paste the new IP in the field and click on the Add IP button.

By clicking on the Private Key link you will see the RSA Private Key. It is required in the client's SSH software in order to proceed with the SSH connection.

In the Useful Resources section you will find links to our Knowledge Base. Following them you will learn how to establish an SSH connection through Windows, Linux and MacOS.