SSH or Secured Shell is a network protocol that allows you to connect and manage a server via a CLI or command line interface. This is perfect for power users who have more advanced knowledge. When used correctly, these commands can significantly increase the speed of administrative & development tasks.
Most Linux distributions & MacOS support using SSH out of the box. Microsoft Windows requires additional software to connect. PuTTY is an example of this software.
As a Premium Hosting or Premium Reseller you have access to SSH. We currently only support SSH via key pairs that include a public and private key, this is fundamentally more secure than password-based access which is disabled on our shared service.
By default your key pair will save in your systems /user/.ssh/ directory with the name id_rsa unless you wish to change this press the Enter key on your device.
When prompted to enter a passphrase and repeat it when asked, press your Enter key to proceed.
You will see the randomart image along with the key fingerprint upon successful generation.
How to create a keypair on Microsoft Windows
Download PuTTY as a package file. This will include the PuTTYgen tool.
Open PuTTYgen. If you want you can choose different key types and increase the size, for this guide we will be using the default RSA, 2048.
Click Generate and start moving your mouse cursor around the PuTTYgen window to create your keypair.
Enter & repeat your key passphrase in the boxes provided.
Save the private key to the same rememberable easily accessible areas of your computer for instance documents.
Keep PuTTYgen open so you can copy your public key over to cPanel easily. Highlight and press the CTRL + C buttons on your keyboard, yo add it to your clipboard, ready to add it to cPanel.
How to add your public key to cPanel.
Login to your cPanel account.
Under the Security tab click SSH Access.
Next click manage SSH keys.
Click Import Key
If you wish you can name this key now.
Next up, from the import key page, paste in your Public key from PuTTYgen or from the id_rsa.pub file created in your Unix-based system. Ensure to leave the remaining fields blank. Finish by clicking the import key.
The public key will now be visible in your SSH access area. Click Manage to authorise the key on the server.
Finally, click Authorise to enable your SSH key.
Connecting on Unix-based systems
Open a terminal window.
Type the following command.
You will now be connected over SSH.
Connecting on Microsoft Windows.
Open the Pageant tool
Click Add key and select your privatekey.ppk file that you created earlier, you will be then prompted to enter your passphrase.
Now that pageant is running in the background, open PuTTY and type in your server’s hostname or IP address. Alternatively, you can also use your site’s domain name if it has already been propagated.
Please ensure that you use the correct PORT: 9284
Click open and in the terminal window enter your account username when prompted.
If your SSH key has been added successfully you will automatically be logged in and ready to go.