Loading...

Knowledge Base

SSH for Linux-Based Hosting

This article explains how to manage SSH access for your Linux-based hosting account, including steps to create, authorize, view, download, and convert SSH keys in your cPanel or Hosting Manager. 

 

On this page, you'll learn 

 

What is SSH

SSH (Secure Shell) is a network protocol that allows you to securely connect to a remote server over an encrypted connection. It helps protect login credentials, commands, and transferred data while managing your hosting account. SSH keys are often used instead of passwords to provide a more secure method of authentication.

 

How to Create an SSH Key

This guide provides instructions on how to create an SSH key through your cPanel or Hosting Manager.

  1. Log in to your Crazy Domains Account..  
  2. Locate the hosting product for your domain. 
  3. Click Manage. This opens the Hosting Product Manager.  
  4. From the Hosting Product Manager, scroll down to Server Information
  5. From SSH Keys row, click MANAGE KEYS. This will open the cPanel window. 
  6. Under Manage SSH Keys, click the Generate a New Key button. 
  7. If preferred, change the default Key Name (id_rsa) by replacing it with your own. 
  8. Enter Key Password twice in the respective fields. You can let the system create one for you by following these steps: 
    • Click the Password Generator button. 
    • In the pop-up box, copy the generated password and tick the box for I have copied this password in a safe place. 
    • Click Use Password. This will automatically copy and paste the generated password in the Password fields. 
  9. Select Key Type and Key Size according to your preference. The recommended settings are Key. 

  10. Click the Generate Key button to continue. A confirmation message will appear on the next page.

 

How to Authorize an SSH Key

Follow the instructions below to authorize the SSH key you created in your cPanel or Hosting Manager: 

  1. In cPanel, return to the main SSH Access page. 
    • If you have just created the key, click Go Back at the bottom of the page. 
  2. Locate the SSH key you created under Public Keys
  3. Click the corresponding Manage button on the right-hand side. 
  4. Click Authorize to enable the key for SSH access. 
  5. A confirmation message will appear once the key has been successfully authorized. 

Your SSH Key has now been authorized and can now be used for access.

 

How to View, Download and Convert SSH Key

Follow the steps below to view or download your SSH key or convert it to PPK format before downloading. 

  1. In cPanel, return to the main SSH Access page.  
    •  If you have just created the key, click Go Back at the bottom of the page. 
  2. Locate your newly created SSH key under Private Keys, then click the corresponding View/Download button. 
  3. You can now view your SSH key. To save it directly, click Download Key button.

Convert the “id_rsa” key to PPK format 

  1. Enter your SSH key password in the Passphrase field. 
  2. Click Convert
  3. Once the conversion is complete, click Download Key to save the PPK file

 

Loading...