This interface provides information about how to connect to another web server via the SSH (secure shell) network protocol.
The SSH network protocol allows you to connect to another web server over the Internet via a command line interface (CLI). You can use this network protocol to remotely manage your server, configure CGI scripts, and perform other tasks.
Many modern operating systems, such as MacOS® and Linux® distributions, include SSH. If you use Microsoft Windows® to connect to your server, you must use an SSH client, such as PuTTY, to log in to your server.
Many Unix-based operating systems include standardized commands. For a list of standardized Unix-based (POSIX) commands, read the GNU Coreutils documentation.
Connect to your server via SSH
To use PuTTY to connect to your server via SSH, perform the following steps:
Download and install the PuTTY client.
From the Windows Start menu, open the client.
In the Session interface, enter the hostname or IP address of the server in the Host Name (or IP address) text box (for example,
Enter the port number in the Port text box (for example,
Select the SSH protocol.
Enter your cPanel account’s username.
Enter your cPanel account’s password.
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 Manage SSH Keys.
Click Generate a New Key.
To use a custom key name, enter the key name in the Key Name (This value defaults to id_rsa): text box.
4. Enter and confirm the new password in the appropriate text boxes.
- This step is optional if your hosting provider sets the SSH Keys setting to
0in WHM’s Password Strength Configuration interface (WHM >> Home >> Security Center >> Password Strength Configuration).
- The system evaluates the password that you enter on a scale of 100 points.
0indicates a weak password, while
100indicates 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 & Security documentation.
5. Select the desired key type.
DSA keys provide quicker key generation and signing times.
RSA keys provide quicker verification times.
6. Select the desired key size.
7. Click Generate Key. The interface will display the saved location of the key.
To import an existing SSH key, perform the following steps:
Click Manage SSH Keys.
Click Import Key.
To use a custom key name, enter the key name in the Choose a name for this key (defaults to id_dsa) text box.
Manage your keys
The Public Keys and Private Keys tables display the following information about your existing keys:
Name — The key’s name. Public and private keys use the same key name.
Authorization Status — Whether you authorized the key.
Actions — You can perform the following actions:
Delete Key — Click to delete the key, and then click Yes to confirm that you wish to delete the key.
View/Download — Click to view or download the key. To download the key, save the contents of the Public SSH Key text box to your computer.
Manage — Click to manage authorization for the key. A new interface will appear. Click Authorize to authorize the key, or Deauthorize to revoke authorization for the key.
You can only perform this action for public keys.
After you deauthorize a key, that key’s users cannot log in with the associated private key.