Bluehost Web Hosting Help
Using SSH on Windows (PuTTY)
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
- In the Bluehost cPanel click on the SSH/Shell Access icon under the Security category.
- Open the Manage SSH Keys tool.
- 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
- The location of the newly generated public and private key will be shown as well as the key fingerprint.
- Click Go Back.
- Next to the Public Key you generated, click Manage Authorization then click Authorize to activate this public key.
- Click Go Back.
- 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.
Generate a ppk file
- Download and open PuTTYgen from the PuTTY Download Page
- Click Load
- Locate the private SSH key that you have downloaded. Note: You will need choose to display All Files* from the menu to the right of the File Name field.
- Enter the password for your SSH Key
- Click the Save private key button to create the ppk file.
- In PuTTY, under Session, enter your Host Name
- Under Connection choose Data
- Enter your cPanel username as the Auto-login username
- Under SSH, choose 2 from Preferred SSH Protocol Version
- 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.
- Under Sessions, type a name (such as "my site") in the Saved Sessions box and click Save.
Recommended Help Content
Mysql connections with a dynamic (changing) IP Address using ssh/putty ect
Users having problems connecting to mysql database using SSH and/or putty/other client. (updated 1725 days ago)
SSH Access - Generating a Public/Private Key
How to generate and use SSH Keys (updated 469 days ago)
What is SSH and how do I setup secure connections. (updated 963 days ago)
Related Help Content
Setup an FTP disk in Windows Vista and 7
How to create a Network Folder in Windows Vista and 7 (updated 809 days ago)
Mailman - Disable Public Archive
Mailman - How can to disable the Public Archive Function? (updated 1652 days ago)
Public IP Address and How To Find it
What is a Public IP Address? (updated 997 days ago)
WHM - Create a New cPanel
How to create a new cPanel. (updated 420 days ago)
Is SSH/Shell access enabled by default? (updated 1186 days ago)
Windows Media Player, how to Stream a movie.
Example HTML to embed a streaming video file in a browser using Windows Media Player, (updated 1638 days ago)
Managing Databases via Command Line (SSH)
This article will instruct you how to export a database from the command line (SSH). (updated 600 days ago)
SSH/Shell access for Resold account(s)?
How to enable/turn on SSH access for Resold accounts (updated 158 days ago)