---
title: "How to SSH Into Your Shared/Reseller Server"
description: "If you are using a shared hosting or reseller hosting account, this guide shows you how to connect to an individual cPanel account via SSH using a client such as PuTTY. How to Connect to your Server..."
url: https://www.inmotionhosting.com/support/server/ssh/shared-reseller-ssh/
date: 2013-09-12
modified: 2026-01-22
author: "InMotion Hosting Contributor"
categories: ["SSH and Root Access"]
type: post
lang: en
---

# How to SSH Into Your Shared/Reseller Server

![How to SSH into your Shared/Reseller Server](https://www.inmotionhosting.com/support/wp-content/uploads/2021/06/SSH-Into-Server-SharedReseller-1024x538.png)

If you are using a [shared hosting](/shared-hosting) or [reseller hosting](/reseller-hosting) account, this guide shows you how to connect to an individual cPanel account via SSH using a client such as [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).

- [How to Connect to your Server with SSH (Video)](#video)
- [How to Generate an SSH Key](#generate-key)
- [How to Authorize an SSH Key](#authorize)
- [Convert and Download the SSH Key](#convert)
- [SSH using PuTTY](#putty)
- [For Basic Terminal Emulators](#terminal)

## Video: How to Connect to your Server with SSH

## How to Generate an SSH Key

**Note for Reseller Customers:** Before following this guide, make sure you have [enabled SSH](/support/edu/whm/how-to-enable-ssh-through-whm/) for the cPanel user that you are using to SSH with.

1. [Login to the cPanel](/support/edu/cpanel/how-to-log-into-cpanel/) that you want to connect to using SSH.
2. Under *Security* click **SSH Access**.
3. Click **Manage SSH Keys**.
4. Then click ** Generate a New Key**.
5. Type in a [strong password](/support/security/password-strength/), then click in the field below it and type the password again.![creating a key](https://www.inmotionhosting.com/support/wp-content/uploads/2013/09/newPaperLantern_cmNewPaper_21.png)
6. Click **Generate Key**, then you will see a *Key Generation Complete!* message.

## How to Authorize an SSH Key

Once you have generated the SSH Key, it needs to be **Authorized**.

1. [Login to the cPanel](/support/edu/cpanel/how-to-log-into-cpanel/) that you want to connect to using SSH.
2. Under *Security* click **SSH Access**.
3. Click **Manage SSH Keys**.
4. On the next screen, locate the key you just created under the **Public Keys** section. Click **Manage** (under the *Actions* column) next to your new key.
5. You will see a message stating:”*The key with the name “id_dsa” is currently “**not authorized**” for use when connecting to this account.*Click **Authorize**. You will then see a message stating:*The key “id_dsa.pub” has been authorized.*

## Convert and Download the SSH Key

1. [Login to the cPanel](/support/edu/cpanel/how-to-log-into-cpanel/) that you want to connect to using SSH.
2. Under *Security* click **SSH Access**.
3. Click **Manage SSH Keys**.
4. Under *Private Keys* click **View/Download** next to the Private key you want to use.
5. On the next screen, scroll down to the *Convert the “id_dsa” key to PPK format:* section. Enter the passphrase used to generate the SSH key in the **Enter the passphrase to unlock the “id_dsa” key for conversion:** field.
6. Click **Download Key**.

**Note:** If you have converted the key to PPK format using cPanel, make sure to review the **PuTTy-User-Key-File version** that it has been converted to. You will see it in the first line when you convert the key (as per the screenshot below). Some FTP clients are unable to use the PuTTy_user-Key-File-3 version. The version that is converted will vary based on the cPanel version that you are using. Build 94 and older will use the older formats (version 1 and 2). FileZilla is noted for not supporting version 3 of the PPK file. You can use another FTP client to avoid this issue.

![View or Download SSH Key](https://www.inmotionhosting.com/support/wp-content/uploads/2021/12/ppk-conversion-1.jpg)

## SSH Using PuTTY

1. Open PuTTY, under *Connection* click **SSH**, then **Auth**.[![authorizing putty](https://www.inmotionhosting.com/support/wp-content/uploads/2013/09/reseller_putty-auth.png)](/support/wp-content/uploads/2013/09/reseller_putty-auth.png)
2. Click **Browse** under *Private key file for authentication*, then select the private key you downloaded in the last section. Click **Open**.
3. Click **Session** and under *port* enter: **2222**
4. For the *Host Name*, enter your domain name or [shared IP](/support/website/how-to-find-your-shared-ip-address-of-your-server-in-cpanel/) address, then click **Open** to connect. If you see a *PuTTY Security Alert*, click **Yes**.[![Host key is not cached message](https://www.inmotionhosting.com/support/wp-content/uploads/2013/09/ssh_putty-security-alert.png)](/support/wp-content/uploads/2013/09/ssh_putty-security-alert.png)
5. You will see “*Login As*“. Enter your [cPanel username](/support/security/what-is-my-username-and-password/#cpanel) and then hit Enter.
6. Enter the password for your key file and hit **Enter**. For security reasons, PuTTY will not show anything when you type your password, this is normal. You will then be logged into your account via SSH.

Congratulations, now you know how to connect to a Shared server or Reseller cPanel account using SSH!

## For Basic Terminal Emulators

If you are not using PuTTY, and you wish to SSH into your server from any terminal editor, all you need to do is download your keys (as seen above) and use the private key in your terminal emulator, as follows:

```
ssh -p 2222 -i path/to/private_key userna5@12.34.56.78
```

Make sure to substitute the proper path to your private key and use your proper cPanel username and shared IP address.

If you don’t want to type all of those options into your terminal every time you connect, you can use a local SSH configuration file to simplify it. You just need to create a file called “config” in the local `.ssh` directory (`.ssh/config`). Once you have done that, you can name the connection and associate values with it, as in the example below:

Host imh
User userna5
Hostname example.com
Port 2222
IdentityFile ~/.ssh/id_rsa

If you were to use the example above, replacing the example values with your own real values, you would only need to type the following at the terminal prompt:

ssh imh

And you will be instantly connected to your server over SSH.

Provide hosting services to your clients using your own brand. Check out InMotion’s all new [Reseller Hosting plans](https://www.inmotionhosting.com/reseller-hosting) today!
