By using cPanel you can create, import, manage and remove SSH keys. These keys will be used when confirming a specific computer has the right to use SSH to connect to your website.

Step 1: Login to your cPanel.

How to manage SSH keys in cPanel - image 1

Step 2: To Manage SSH keys click on the SSH Shell Access in Security section of cPanel.

How to manage SSH keys in cPanel - image 2

Step 3: Click on Manage SSH keys.

image 3

Step 4: To set up a new SSH key, click on Generate a New Key.

image 4

Step 5: Please add the required password in the Key Password text box and click on Generate key.

image 5

Step 6: Your SSH key is generated, click on Go Back.

image 6

Step 7: The public key remains on the server while the private key is what you have to download and save to the computer you will be accessing your server from, but before that, you have to authorize the public keys so it works. Click Manage Authorization.

image 7

Step 8: Click Authorize button and once the key has been authorized click on Go Back.

image 8

Step 9: Let’s view the Private key and convert the key into the PPK format by entering the password and clicking Convert.

image 9

Step 10: Now you can download the key by clicking on Download Key.

image 10

Step 11: The SSH key has been set up and it is ready to use to securely log into your server with SSH.