HostMonster Web Hosting Help

Using SSH on Windows (PuTTY)

Summary

Using a Public/Private key to authenticate when logging into SSH can provide added convenience or added security. The Public/Private key can be used in place of a password so that no username/password is required to connect to the server via SSH. Instead the unique public and private key provide the secure authentication. The keys may also be generated with a different password from your cpanel password if desired.

Generate a Public/Private Key Pair

  1. In the HostMonster cPanel click on the SSH/Shell Access icon under the Security category.

  2. SSL/TLS Manager

  3. Open the Manage SSH Keys tool.
  4. Click Generate a New Key and complete the fields shown. We recommend the RSA key type and a 4096 bit key size for maximum security.
    Note: There is bug in cPanel at this time that does not allow you to create a 2048 or 4096 bit DSA key
  5. The location of the newly generated public and private key will be shown as well as the key fingerprint.
  6. Click Go Back.
  7. Next to the Public Key you generated, click Manage Authorization then click Authorize to activate this public key.
  8. Click Go Back.
  9. To the right of the Private Key, click on View/Download. Then click the Download Key button. Save the file to your computer and click go back.
You may now use the private key saved on your computer to SSH securely to our server. If you are using PuTTY, please see the configuration steps below.

Generate a ppk file

  1. Download and open PuTTYgen from the PuTTY Download Page
  2. Click Load

  3. Load Your Private Key

  4. Locate the private SSH key that you have downloaded.
  5. Note: You will need choose to display All Files* from the menu to the right of the File Name field.
  6. Enter the password for your SSH Key

  7. Enter the Passhrase for your SSH key

  8. Click the Save private key button to create the ppk file.

  9. Save the PPk file

Configuring PuTTY

  1. In PuTTY, under Session, enter your Host Name

  2. Enter your Domain Name or IP Address

  3. Under Connection choose Data
  4. Enter your cPanel username as the Auto-login username

  5. Enter your cPanel username

  6. Under SSH, choose 2 from Preferred SSH Protocol Version
  7. Under SSH -> Auth, you will need to specify where your private key can be found. Remember this is where you saved the private key on your local computer. Click Browse to locate the file on your computer.

  8. Click Browse to locate your ppk file

  9. Under Sessions, type a name (such as "my site") in the Saved Sessions box and click Save.
Knowledgebase Article 84,168 views bookmark tags: ssh (updated 381 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Users having problems connecting to mysql database using SSH and/or putty/other client. (updated 1352 days ago)
Knowledgebase Article 52,899 views tags: connection ip mysql putty ssh whitelist

How to generate and use SSH Keys (updated 96 days ago)
Knowledgebase Article 11,381 views tags: dedicated ssh

What is SSH and how do I setup secure connections. (updated 590 days ago)
Knowledgebase Article 157,104 views tags: bash connect putty shell ssh

Related Help Content

How to create a Network Folder in Windows Vista and 7 (updated 436 days ago)
Knowledgebase Article 27,476 views tags: ftp vista webdav webdisk windows

Mailman - How can to disable the Public Archive Function? (updated 1279 days ago)
Knowledgebase Article 16,790 views tags: mailman public

What is a Public IP Address? (updated 624 days ago)
Knowledgebase Article 60,815 views tags: ip public

Windows Live Mail combines the ease of use of Outlook Express, with the speed of Windows Live. This tutorial will show you how to setup your email account in Windows Live Mail. (updated 1176 days ago)
Video "How-to" Tutorial 89,715 views tags: email imap live mail microsoft windows

Is SSH/Shell access enabled by default? (updated 812 days ago)
Knowledgebase Article 242,731 views tags: bash command line secure shell ssh

Example HTML to embed a streaming video file in a browser using Windows Media Player, (updated 1265 days ago)
Knowledgebase Article 75,715 views tags: audio media stream streaming video windows

This article will instruct you how to export a database from the command line (SSH). (updated 227 days ago)
Knowledgebase Article 332,019 views tags: database mysql ssh

Here is a good list of basic SSH commands. (updated 430 days ago)
Knowledgebase Article 98,656 views tags: commands ssh