How to Import Existing SSH Key in WHM

In this article we will show you how to add an existing key to WHm in order to access your account via SSH with root privileges.

First, login to WHM and navigate to Home -> Security Center -> Manage root's SSH Keys.

Then, follow these steps:

  1. Click on the Import Key button
  2. Enter a name for this key in the first field
  3. Paste the public key in the corresponding field
  4. Click the Import button

*There are fields for Password and Private Key which are not required

Now, you need to authorize this key for the root user. To do this, go back to Manage root's SSH Keys and click on the Manage Authorization button next to the key you've just added.

Finally, click on the Authorize button. You can now login to your server as root using this key.

cPanel is easy to work with when you have the right host to support you. If you need a reliable partner to help you manage your website with cPanel, check out our cPanel hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable SuperCacher for wildcard subdomains

When you have a wildcard subdomain setup and you need to disable SuperCacher for a specific...

How to access WHM on a Cloud VPS?

All customers on a hostlantern website package can access their WHM (Web Host Manager) interface...

How to restore files/folders using the Files Backup Restore tool in cPanel?

Clients with the Daily Backup upgrade can restore files and folders from their daily backups via...

Using international (non-Latin) domain names in cPanel

If the domain name that you are trying to use in cPanel as a parked or an addon contains...

How to enable SSH/Shell Access icon in cPanel on VPS?

In order to turn on the SSH/Shell Access icon in the users' cPanel you should log in to the VPS...

Powered by WHMCompleteSolution