Generating an SSH key pair using the SSH client called PuTTY

This task provides step-by-step instructions for generating SSH keys on the PuTTY SSH client system.

Steps

Perform these steps to generate SSH keys on the SSH client system:

  1. Start the PuTTY Key Generator to generate public and private keys for SSH client connection to the SSH Server on the SAN Volume Controller cluster. Select Start -> Programs -> PuTTY -> PuTTYgen to open the PuTTY Key Generator Graphical User Interface (GUI) window.
  2. Use the PuTTY Key Generator GUI window to generate keys:
    1. Select the SSH2 RSA radio button.
    2. Leave the number of bits in a generated key value at 1024.
    3. Click Generate.

    A message similar to the following is displayed:

    Please generate some randomness by moving 
    the mouse over the blank area.

    in the section of the GUI labeled Key. The blank area indicated by the message is the large blank rectangle on the GUI inside the section of the GUI labeled Key. Continue to move the cursor over the blank area until the progress bar reaches the far right. This generates random characters to create a unique key.

    Attention: Attention: Do not enter anything in Key Passphrase or Confirm passphrase fields.
  3. Save the generated SSH keys on your system disk for later use. Two files are generated.
    1. Click Save public key. You will be prompted for a name and location for the key. Remember the name and location of the SSH public key you save.
      Notes:
      Notes:
      1. For AIX, store the key in the $HOME/.ssh directory.
      2. It is recommended that you use the term pub in naming the public key, for example, pubkey, to easily differentiate the SSH public key from the SSH private key. You will identify the name and location of the SSH public key to the SAN Volume Controller cluster in a later step.
    2. Click Save Private key. You will be prompted with a message similar to the following:
      Are you sure you want to save this key 
      without a passphrase to protect it? 
      	Yes/No
      Click Yes. You will be prompted for a name and location for the key. Remember the name and location of the SSH private key you save. You will need to identify the name and location of the SSH private key when you configure the PuTTY session. You will also need the name and location of the SSH private key if you choose to run the SAN Volume Controller Console installation program on another system other than the master console. The PuTTY key generator will save the private key with an extension of .ppk.
      Note:Note: For AIX, store the key in the $HOME/.ssh directory, in the $HOME.ssh/identity file. In the simplest cases, this involves replacing the contents of the identity file with the contents of the key file. However, when using multiple keys, then all of these keys must appear in the identity file.
  4. Close the PuTTY Key Generator.
Related topics

(C) Copyright International Business Machines Corporation 2003, 2004