How to connect to your hosting account via SSH

How to connect to your hosting account via SSH

SSH (Secure Shell) gives you command-line access to your hosting account, which is useful for tools such as WP-CLI, Composer and Git, or for importing large databases.

SSH on our servers uses key-based authentication on port 9284.

Step 1: Create a key pair

macOS or Linux: open Terminal and run:

ssh-keygen -t ed25519

Press Enter to accept the default location and set a passphrase when prompted. This creates a private key (~/.ssh/id_ed25519) and a public key (~/.ssh/id_ed25519.pub).

Windows: use PuTTYgen (installed with PuTTY) or run the same command in PowerShell on Windows 10/11.

Step 2: Add the public key to cPanel

  1. In cPanel, open SSH Access in the Security section and click Manage SSH Keys.
  2. Click Import Key, give it a name and paste in the contents of your .pub file. Leave the private key box empty.
  3. Click Import, go back, then click Manage next to the key and choose Authorize.

Step 3: Connect

ssh -p 9284 cpanelusername@your-server-hostname

On Windows with PuTTY, enter the hostname and port 9284, then load your private key under Connection › SSH › Auth.

Never share your private key. If SSH access isn't enabled on your package, raise a ticket.

    • Related Articles

    • How to import a large MySQL database via SSH

      phpMyAdmin is fine for smaller databases, but large imports can time out. Importing over SSH is faster and more reliable. Create the database and user in cPanel (see How to create a MySQL database). Upload your .sql file to your home directory using ...
    • How to connect to your hosting with FileZilla

      FileZilla is a free app for uploading and downloading files between your computer and your hosting. Download FileZilla Client from filezilla-project.org and install it. Open File › Site Manager and click New Site. Enter: Protocol: SFTP or FTP (see ...
    • How to change your hosting account password

      Your Managed Web account has two separate passwords: Client portal password – for billing, services, domains and support tickets cPanel password – for your hosting control panel, FTP (main account) and SSH Change your client portal password Log in to ...
    • How to connect to a MySQL database using PHP

      Before you start Create a database and a user in cPanel (see How to create a MySQL database in cPanel) and note: The database name and username – cPanel adds your account username as a prefix, e.g. cpuser_shop and cpuser_shopuser The user's password ...
    • How to add a domain to your hosting account

      You can host more than one website on the same cPanel account (subject to your package allowance). Make sure the domain's nameservers are set to ns0.thundercloud.uk and ns1.thundercloud.uk. In cPanel, open Domains in the Domains section. Click Create ...