In the following article, we’ll detail the process of managing SSH keys within cPanel. You can generate, import, oversee, and delete SSH keys via cPanel, which are crucial for verifying specific computers’ access permissions to your website through SSH.
Follow these steps to manage SSH Keys in cPanel.
- Log in to your “cPanel”.
- Click on “SSH Access” in the “Security” section of cPanel.
- Click on “Manage SSH keys”.
- To set up a new SSH key, click on Generate a New Key.
- Enter the “Key Name, Key, Password”, type the desired password and then click “Generate key”.
- SSH key is generated, click on “Go Back”.
- The server retains the public key, while the private key is the one you need to download and store on the computer you intend to use for accessing your server. However, before doing so, you must authorize the public keys to ensure their functionality. Click on “Manage Authorization” to proceed.
- Click “Authorize” button and once the key has been authorized click on Go Back.
- To view the Private key, click on “View/Download”.
- To Download key, click on “Download.”
- To convert the key into the PPK format by entering the password and clicking “Convert.”
- The SSH key has been set up and it is ready to use to securely log into your server with SSH.
In this way, you can manage your SSH keys in cPanel. For more information on cPanel, visit our Knowledgebase.