How do I connect to the server using SSH?

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. 

Learn how to connect via SSH

How to create a keypair on Unix-based systems. 

  • Open a terminal window 
  • Enter the following command 

ssh-keygen -t rsa 

  • 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. 
Generate SSH keypair in PuTTYgen
  • 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. 
PuTTYgen Passphrase highlighted
  • 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.
Security section in cPanel
  • Next click manage SSH keys.
cPanel manage SSH
  • Click Import Key
cPanel import and manage keys
  • 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.
Import public key to cPanel
  • The public key will now be visible in your SSH access area. Click Manage to authorise the key on the server.
Authorise SSH key in cPanel
  • Finally, click Authorise to enable your SSH key.
Confirm key is authorised in cPanel

Connecting on Unix-based systems

  • Open a terminal window. 
  • Type the following command.


ssh -p 9284 yourusername@sharedserverhostname

  • 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.
Pageant Key List
  • 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.
PuTTY Tool Window
  • 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.