Managing SSH Keys with WHM

How do I manage SSH keys with WHM?

To manage SSH keys, follow this guide as it will show you how to add, import and manage them with your server.  SSH keys will be divided into two types: public and private.

 

  1. Log in to your WHM account
  2. Click on the Security Center button

 

Showing the Security Center icon in WHM

 

  1. Click on Manage root’s SSH Keys button

 

Showing the Manage root's SSH Keys icon in WHM

 

How do I generate a new SSH key?

This section will show you how to generate a new key, public or private.

 

  1. Click the Generate New Key button

 

Showing the Generate a New Key icon in WHM

 

  1. Create a unique key name in the Key Name text box
  2. Enter a password for the key name if you wish
    1. Confirm password, if necessary
    2. You can use the Password Generator to generate a random password
  3. Pick your preferred Key Type
    1. RSA – Faster verification times
    2. DSA – Faster generation and signing times
  4. Select your preferred Key Size
    1. Higher the size, the better the security, but the slower the authentication speed
  5. Click the Generate Key button

 

Showing the Manage root’s SSH Keys form in WHM

 

How do I import an SSH key?

 

  1. Click the Import Key button

 

Showing the WHM Import Key icon in WHM

 

    1. Create a custom key name in the first text box
      a. When you create a custom key name, the SSH key must be specified when you log in to the server
      b. To be specific you’ll need to run the following command:

 

  1. Enter the Private key passphrase in the text box if you’re using a PPK (PuTTY Key Generator) file
  2. Paste the Private key into the box
  3. Paste the Public key into the box
  4. Click the Import button

 

Showing the Manage root’s SSH Keys Import key form in WHM

 

How do I manage the keys?

You can manage the keys you create and import through the Public and Private Keys tables at the bottom of the Manage root’s SSH Keys section. You can perform the following actions: Delete Key, View/Download Key and Manage Authorization.

 

Showing the Manage roots SSH Key form 2 in WHM

 


Share:

Leave a Reply