SSH Access
Manage SSH keys
This section of cPanel's SSH Access interface allows you to create, import, manage, and remove SSH keys. The system will use these keys when you confirm that a specific computer has the right to access your website’s information with SSH.
Generate a New Key
Use this section of the interface to create new SSH key pairs, which include a public key and a private key.
To generate a new SSH key pair, perform the following steps:
- Click Generate a New Key.
-
To use a custom key name, enter the key name in the Key Name (defaults to id_dsa): text box.
Note:
If you use a custom key name, you must manually specify the SSH key when you log in to the server.
- Enter and confirm the new password in the appropriate text boxes.
Notes:
- The system grades the password that you enter on a scale of 100 points.
0
indicates a weak password, while100
indicates a very secure password. - Some web hosts require a minimum password strength. A green password Strength meter indicates that the password is equal to or greater than the required password strength.
- Click Password Generator to generate a strong password. For more information, read our Password Generator documentation.
- The system grades the password that you enter on a scale of 100 points.
- Select the desired key type.
- DSA keys provide quicker key generation and signing times.
- RSA keys provide quicker verification times.
-
Select the desired key size.
Note:
Greater key sizes are more secure, but they result in larger file sizes and slower authentication times.
-
Click Generate Key. The interface will display the saved location of the key.
Important:
For the new SSH key to function, you must authorize the SSH key. For more information, read the Manage your keys section.
Import Key
To import an existing SSH key, perform the following steps:
-
Click Import Key.
-
To use a custom key name, enter the key name in the Enter a name for this key (defaults to id_dsa) text box.
Important:
If you use a custom key name, you must manually specify the SSH key when you log in to the server.
-
Paste the public and private keys into the appropriate text boxes.
- Click Import.
Manage your keys
The Public Keys and Private Keys tables display the following information about your existing keys:
Column
|
Description
|
---|---|
Name | The key's name. Public and private keys use the same key name. |
Authorization Status |
Whether you authorized the key. Important: You must authorize new keys before you attempt to use them. Note: This column only displays in the Public Keys table. |
Actions |
You can perform the following actions:
|