Using cPanel, it is possible to manage, import, create, and remove SSH keys. These keys will be used when confirming a specific computer has the right to access your website’s information using SSH.
Use the Generate a new Key and Import Key links to generate or import a key, respectively.
Generate a New Key
To generate a new key:
- Click Manage SSH Keys.
- Click the Generate a new key icon.
- Fill in the appropriate information.
- Note: It is important to consider your needs when choosing a key type, bearing in mind that RSA keys yield a faster confirmation of identity, while using DSA keys will speed up key generation and signing times.
- Select a key size using the pull-down menu.
- Click Generate Key to generate the new SSH key and automatically install it to the server.
Import an Existing Key
To import a key:
- Click the Import Key icon.
- Choose a name for the key.
- Paste the private and public keys into the 2 text boxes.
- Click Import.
Once a key has been installed onto the server, it can be edited, deleted or downloaded using the appropriate links in the lists on the Manage SSH Keys page. Keys that are new to the server need to be authorized using the Manage Authorization link.
Important: The key will not work until it is authorized.
The key, once authorized, can be unauthorized by using the Manage Authorization link and clicking Deauthorize.