How to Use PuTTY Agent (Pageant) with Your cPanel Account
Pageant is the authentication agent included with PuTTY that allows you to store your SSH private keys securely in memory. This lets you connect to your server using SSH without entering your passphrase every time.
This guide explains how to use Pageant with PuTTY and your cPanel account.
What Is Pageant?
Pageant is a background application that works with PuTTY to manage SSH authentication keys.
Instead of typing your password each time you connect through SSH, Pageant allows you to:
-
Store your private SSH key securely
-
Authenticate automatically when connecting with PuTTY
-
Manage multiple SSH keys
This is especially useful for developers who frequently connect to their server or use tools like Git.
Step 1: Generate an SSH Key in cPanel
Before using Pageant, you should create an SSH key in cPanel.
-
Log in to cPanel.
-
Scroll to the Security section.
-
Click SSH Access.
-
Click Manage SSH Keys.
-
Click Generate a New Key.
Fill in the following:
-
Key Name
-
Key Password (Passphrase)
Click Generate Key.
Step 2: Authorize the SSH Key
After creating the key:
-
Locate the key under Public Keys.
-
Click Manage.
-
Click Authorize.
This allows the key to be used for SSH connections.
Step 3: Download the Private Key for PuTTY
PuTTY requires a .ppk (PuTTY Private Key) file.
-
In cPanel → SSH Access → Manage SSH Keys.
-
Locate your private key.
-
Click View/Download.
-
Select Convert to .ppk format if necessary.
-
Download the .ppk file to your computer.
Step 4: Start Pageant
-
Open Pageant from the PuTTY installation folder.
-
Pageant will appear as an icon in your system tray.
Pageant runs in the background and manages your SSH keys.
Step 5: Add Your SSH Key to Pageant
-
Right-click the Pageant icon in the system tray.
-
Click Add Key.
-
Select the .ppk private key file you downloaded.
-
Enter your key passphrase when prompted.
The key will now be loaded into Pageant.
Step 6: Connect Using PuTTY
Once your key is loaded in Pageant:
-
Open PuTTY.
-
Enter your server hostname or domain name.
Example:
yourdomain.com
-
Ensure the Port is set to:
22
-
Set Connection Type to SSH.
-
Click Open.
PuTTY will automatically use the key stored in Pageant to authenticate.
Benefits of Using Pageant
Using Pageant provides several advantages:
-
Faster SSH logins
-
Secure key-based authentication
-
No need to repeatedly enter passwords
-
Ability to manage multiple SSH keys
Security Tips
-
Keep your private key file secure and never share it.
-
Always use a strong passphrase for SSH keys.
-
Close Pageant when you are finished working if you are on a shared computer.
-
Store backups of your SSH keys in a secure location.
Troubleshooting
If Pageant is not working correctly:
-
Verify the SSH key is authorized in cPanel.
-
Confirm the correct .ppk file is loaded in Pageant.
-
Ensure Pageant is running before opening PuTTY.
-
Check that SSH access is enabled for your hosting account.
If you continue to experience issues using Pageant with PuTTY, please contact our support team and include any error messages or screenshots so we can assist you further.