Generating SSH keys on Windows

The SSH keys are needed to configure SFTP.

Procedure

  1. Download PuTTYgen (https://the.earth.li/~sgtatham/putty/latest/w64/puttygen.ex), and run the puttygen.exe executable.

    The PuTTY Key Generator dialog box is displayed.

  2. Select RSA as the key type to generate, and enter 4096 as the number of bits in a generated key, as shown in the following image.
    PuTTY key generator
  3. Optional: If your SFTP client is WinSCP, set the PPK file version for the key to 2. The default version is 3, which is supported by FileZilla.
    1. From the Key menu, select Parameters for saving key files.
    2. For the PPK file version select 2. and click OK.
      PuTTY key generator
      Note: If the private key is already generated with the PPK file version set to 3, click the Load button to reload the key file, and follow steps a and b to change the version to 2.
  4. Click Generate.

    Randomly move your cursor in the area underneath the progress bar. As you move the cursor, the progress bar starts to fill up with numbers and characters. When it’s completely full, the key is generated, as shown in the following image:

    PuTTY key generator
  5. Click Save public key.
    1. Select a directory, and specify a name for the key file. For example, the name can beCAoC_SFTP_PUB.
    2. Click Save.
  6. Click Save private key. Say Yes to the warning message.
    1. On the Conversions tab, click Export OpenSSH key.
      PuTTY key generator
    2. Select the directory where you saved the public key, and specify a name for the key file. The file extension must be .pem.
      Saving the key file
    3. Click Save.

What to do next

Send the public key to IBM in your onboarding support ticket and the SRE team will place the public key on the server. Keep the private key safe because you will need it to upload files to your environment.