Knowledge Base
MilesWeb / cPanel

How To Import The Existing SSH Key In WHM?

Approx. read time : 2 min

This article will illustrate the process of adding an existing SSH key to WHM for accessing your account through SSH. You will need root privileges for this.

Login to WHM and go to Home > Security Center > Manage Root’s SSH Keys

Then follow the steps mentioned below:

1. Click on the Import Key

2. Enter some Name for this key in the first field

3. Paste the public key in the corresponding field

4. Click on Import

You will also find fields for Password and Private Key which are not required.

The next step is to authorize this key for the root user. In order to do this, go back to this option – Manage root’s SSH keys and then click on the Manage Authorization option.

The last step is to click on the Authorize button. After this, you can login to your server as root using this key.

Related: How To Login to Your Server By SSH?

cPanel is a user friendly control panel to work with. If you are looking for hosting solutions for managing your website, check out the Shared hosting packages offered by MilesWeb.


My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.