Why Does Putty Require Its Own Key Generator


SSH keys are a means of authenticating a user to an SSH server without using a password. Each “key” is actually a key pair consisting of a public key and a private key.

The key types supported by PuTTY are described in section 8.2.2. 8.2 Using PuTTYgen, the PuTTY key generator. PuTTYgen is a key generator. It generates pairs of public and private keys to be used with PuTTY, PSCP, and Plink, as well as the PuTTY authentication agent, Pageant (see chapter 9). PuTTYgen generates RSA and DSA keys. Jun 30, 2017  In this example, we are using PuTTY Key Generator to generate a public/private key pair. When you click on Generate button (1), your public/private key pair will be generated. You must then copy the public key (2) and save it somewhere on your computer (this is the one we will upload to your Cloudways server) and also save the private key (3). May 10, 2015  PuTTY Key Generator, a.k.a. PuTTYgen (an RSA and DSA key generation utility), is a free utility which generates keys for use with PuTTY SSH client, PuTTY authentication Pageant, and other programs in the PuTTY line. It can also convert OpenSSH private key files into PuTTY’s format. Jun 12, 2013  In the file /.ssh/authorizedkeys each and every key must be on its own single line. Before you disable password logins in /etc/ssh/sshdconfig test if your key authentication works properly. PuTTY Key Generator saves the key file with line.

Keys are more secure than passwords because they are significantly more complex. While a password of eight characters is 72 bits long, SSH keys are often 2048 bits or longer. This longer string has many more possible permutations and therefore takes much more time to crack with a brute force attack.

If you require SSH access for multiple users, the use of SSH keys instead of individual logins can bypass many of the headaches involved in user management without violating PCI DSS. For details, see What are the advantages of using SSH keys to control access for multiple users?

Method

The process involves generating a pair of SSH key files containing a private key and a public key. The private key is known only to the user’s computer; the public key will be known to the server. Each key is useless without the other; therefore, only individuals with both the private and the public key can gain access to the server, and the private key is never revealed to the server.

Take special care to not lose the private key. A lost private key cannot be replicated; therefore, users cannot access the server until an administrator generates a new key pair. If you lose access to your server due to a lost key, contact our Support Team for assistance.

Though there are varying methods of generating SSH keys on machines using Windows, this one uses PuTTY Key Generator.

1: Generate the key

ATTENTION: The procedure and screen captures in this section reflect the latest version of PuTTY as of July 21, 2017 (0.70). If you use a different version, your interface may differ from the one pictured.

  1. Download and install PuTTY.

ATTENTION: In Step 2 below, if you are using a pre-0.70 version of PuTTY, then select SSH-2 RSA radio button instead.

  1. In the Type of key to generate section, select the RSA radio button.

  2. In the Number of bits in a generated key field, type 4096.

  3. Click Generate.

  4. Move your mouse cursor in the area below the progress bar. When the progress bar is full, PuTTY generates your key pair.

  5. (Optional) Type a passphrase in the Key passphrase field. Repeat this passphrase in the Confirm passphrase field. If you plan to use your keys for automated processes; skip this step.
  6. Click the Save private key button to save the private key in a secure location. Use any name you like.
  7. Right-click in the text field labeled Public key for pasting into OpenSSH authorized_keys file and choose Select All.
  8. Right-click again in the same text field and choose Copy.

2: Upload the SSH key

Follow the procedure in How to reset your SSH password and add SSH keys in SiteWorx. In Step 3 of that article, paste the public SSH key you copied during Step 8 above section.


For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.

You can generate an SSH key on Windows using the PuTTY SSH client. You can download PuTTY for free from this URL.

Why Does Putty Require Its Own Key Generator Download

To generate a key with PuTTY, you should:

Why Does Putty Require Its Own Key Generator Free

  • Download and start the puttygen.exe generator.
  • In the 'Parameters' section choose SSH2 DSA and press Generate.
  • Move your mouse randomly in the small screen in order to generate the key pairs.
  • Enter a key comment, which will identify the key (useful when you use several SSH keys).
  • Type in the passphrase and confirm it. The passphrase is used to protect your key. You will be asked for it when you connect via SSH.
  • Click 'Save private key' to save your private key.
  • Click 'Save public key' to save your public key.

For more information on how to load the key and connect via SSH using PuTTY, please check this tutorial.

Why Does Putty Require Its Own Key Generator Free

You find this article useful? Generate public key and private key files. Click here to learn more about SiteGround web hosting experts and what else we can do for you!