Configuring SSH keys with cPanel

To use SSH keys, you need to create a key pair consisting of a public key and a private key. The private key remains on your local computer, while the public key is stored on the Turnuphosting server.

There are two options for configuring SSH keys in cPanel:

Option #1: Generating a new key

  1. Log in to cPanel and open the SSH Access tool.                                                                                                  SSH
  2. Under Manage SSH Keys, click Generate a New Key.
  3. Set the Key Name to "id_rsa" and enter a password for the key.
  4. Confirm the Key Type is set to RSA and the Key Size is set to 2048.
  5. Click Generate Key.
  6. Under Public Keys, locate the key you just created and click Manage.
  7. Click Authorize to connect to your account using the new key.

Option #2: Importing an existing key

  1. Log in to cPanel and open the SSH Access tool.
  2. Under Manage SSH Keys, click Import Key.
  3. Choose a name for the key and paste the public key into the text box.
  4. Click Import.
  5. Under Public Keys, locate the key you just imported and click Manage.
  6. Click Authorize to connect to your account using the imported key.

To connect to your account using SSH keys, follow these steps based on your operating system:

Windows operating systems

Using PuTTY

  1. Log in to cPanel and open the SSH Access tool.                                                                                                     SSH access.png
  2. Under Manage SSH Keys, click Manage SSH Keys.
  3. Under Private Keys, locate the key you created and click View/Download.
  4. Convert the key to PPK format and download it.
  5. Install and open PuTTY.
  6. In the Category pane, expand SSH and click Auth.
  7. Browse for the converted private key file.
  8. In the Session category, enter your turnuphosting Hosting account details.
  9. Save the configuration and double-click the connection name to connect.

Using the native Windows SSH client

  1. Log in to cPanel and open the SSH Access tool.                                                                                                     SSH access.png
  2. Under Manage SSH Keys, click Manage SSH Keys.
  3. Under Private Keys, locate the key you created and click View/Download.
  4. Download the private key file.
  5. Open a command prompt window and navigate to the directory where the key is saved.
  6. Connect to your account using the SSH client.

Mac OS X and Linux operating systems

  1. Log in to cPanel and open the SSH Access tool.                                                                                                    SSH access.png
  2. Under Manage SSH Keys, click Manage SSH Keys.
  3. Under Private Keys, locate the key you created and click View/Download.
  4. Download the private key file.
  5. Open a terminal window.
  6. Connect to your account using the SSH client.

 

Was this answer helpful?

Related Articles

550 Sender verify failed error message

The "550 Sender verify failed" error message typically occurs when the sender's email...

Accessing cPanel

There are three ways you can access your cPanel account and either way will work. You can search...

Accessing phpMyAdmin and phpPgAdmin

To access phpMyAdmin and phpPgAdmin in cPanel, follow these steps: Log in to your cPanel...

Accessing the Managed Team feature in cPanel

To access the Manage Team feature on TurnupHosting, follow these steps: Log in to cPanel by...

Accessing webmail clients directly

To provide users with direct access to a specific webmail client when they log in, you can...