1. Puttygen Ssh Public Key
  2. Generate A Key Pair From Putty To Make
  3. Generate A Key Pair From Putty Video
  1. Mar 27, 2019  So you generate a key pair on your own computer, and you copy the public key to the server under a certain name. Then, when the server asks you to prove who you are, WinSCP can generate a signature using your private key. The server can verify that signature (since it has your public key) and allow you to log in.
  2. Under Actions / Generate a public/private key pair, click Generate. You will be instructed to move the mouse cursor around within the PuTTY Key Generator window as a randomizer to generate the private key. Once the key information appears, click Save private key under Actions / Save the generated key. Save the private key to the desktop as id.
  3. In AWS, when you launch any EC2 Linux instance, you should select a key pair for that particular instance. AWS key pair will be in the standard private key format with.pem file extension. But if you are using PuTTY on your Windows laptop to login to AWS instance, you have a problem. PuTTY doesn’t support PEM format.

Several tools exist to generate SSH public/private key pairs. The following sections show how to generate an SSH key pair on UNIX, UNIX-like and Windows platforms.

Generating an SSH Key Pair on UNIX and UNIX-Like Platforms Using the ssh-keygen Utility

This guide describes how to generate and use a private/public key pair to log in to a remote system with SSH using PuTTY.PuTTY is an SSH client that is available for Windows and Linux (although it is more common on Windows systems).

UNIX and UNIX-like platforms (including Solaris and Linux) include the ssh-keygen utility to generate SSH key pairs.

To generate an SSH key pair on UNIX and UNIX-like platforms using the ssh-keygen utility:
  1. Navigate to your home directory:
  2. Run the ssh-keygen utility, providing as filename your choice of file name for the private key:

    The ssh-keygen utility prompts you for a passphrase for the private key.

  3. Enter a passphrase for the private key, or press Enter to create a private key without a passphrase:

    Note:

    While a passphrase is not required, you should specify one as a security measure to protect the private key from unauthorized use. When you specify a passphrase, a user must enter the passphrase every time the private key is used.

    The ssh-keygen utility prompts you to enter the passphrase again.

  4. Enter the passphrase again, or press Enter again to continue creating a private key without a passphrase:
  5. The ssh-keygen utility displays a message indicating that the private key has been saved as filename and the public key has been saved as filename.pub. It also displays information about the key fingerprint and randomart image.

Generating an SSH Key Pair on Windows Using the PuTTYgen Program

Generate

The PuTTYgen program is part of PuTTY, an open source networking client for the Windows platform.

Puttygen Ssh Public Key

To generate an SSH key pair on Windows using the PuTTYgen program:
  1. Download and install PuTTY or PuTTYgen.

    To download PuTTY or PuTTYgen, go to http://www.putty.org/ and click the You can download PuTTY here link.

  2. Run the PuTTYgen program.
  3. Set the Type of key to generate option to SSH-2 RSA.
  4. In the Number of bits in a generated key box, enter 2048.
  5. Click Generate to generate a public/private key pair.

    As the key is being generated, move the mouse around the blank area as directed.

  6. (Optional) Enter a passphrase for the private key in the Key passphrase box and reenter it in the Confirm passphrase box.

    Monster hunter generations hunter rank 2 key quests. Note:

    While a passphrase is not required, you should specify one as a security measure to protect the private key from unauthorized use. The beat generation key players game. When you specify a passphrase, a user must enter the passphrase every time the private key is used.

  7. Click Save private key to save the private key to a file. To adhere to file-naming conventions, you should give the private key file an extension of .ppk (PuTTY private key).

    Note:

    The .ppk file extension indicates that the private key is in PuTTY's proprietary format. You must use a key of this format when using PuTTY as your SSH client. It cannot be used with other SSH client tools. Refer to the PuTTY documentation to convert a private key in this format to a different format.
  8. Select all of the characters in the Public key for pasting into OpenSSH authorized_keys file box.

    Make sure you select all the characters, not just the ones you can see in the narrow window. If a scroll bar is next to the characters, you aren't seeing all the characters.

  9. Right-click somewhere in the selected text and select Copy from the menu.
  10. Open a text editor and paste the characters, just as you copied them. Start at the first character in the text editor, and do not insert any line breaks.
  11. Save the text file in the same folder where you saved the private key, using the .pub extension to indicate that the file contains a public key.
  12. If you or others are going to use an SSH client that requires the OpenSSH format for private keys (such as the ssh utility on Linux), export the private key:
    1. On the Conversions menu, choose Export OpenSSH key.
    2. Save the private key in OpenSSH format in the same folder where you saved the private key in .ppk format, using an extension such as .openssh to indicate the file's content.

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.

  1. In the Bluehost cPanel click on the SSH/Shell Access icon under the Security category.
  2. Open the Manage SSH Keys tool.
  3. 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
  4. The location of the newly generated public and private key will be shown as well as the key fingerprint.
  5. Click Go Back.
  6. Next to the Public Key you generated, click Manage Authorization then click Authorize to activate this public key.
  7. Click Go Back.
  8. 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. Locate the private SSH key that you have downloaded.
  4. Note: You will need choose to display All Files* from the menu to the right of the File Name field.
  5. Enter the password for your SSH Key


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

Configuring PuTTY

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

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


  4. Under SSH, choose 2 from Preferred SSH Protocol Version
  5. 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.

  6. Under Sessions, type a name (such as 'my site') in the Saved Sessions box and click Save.
Knowledgebase Article 445,638 views bookmark tags: keyprivatepublicputtysshwindows

Generate A Key Pair From Putty To Make

Recommended Help Content

Generate A Key Pair From Putty Video

Related Help Content