Convert a Private Key with PuTTY

On a Windows platform you can use the PuTTY Key Generator utility to convert an existing private key from OpenSSH format to PuTTY format.

PuTTYgen is included with your PuTTY installation. To download PuTTY, go to http://www.putty.org/.

  1. Start PuTTYgen on your Windows computer.
    The PuTTY Key Generator window is displayed.
  2. Click Load.
  3. For the type of file, select All Files. Then browse to and select the private key file.
  4. If prompted, enter the passphrase for the private key, and then click OK.
  5. When a notice displays about a foreign key format, click OK.
  6. Optional: If the original key did not have a passphrase, then enter a value in Key passphrase and Confirm passphrase.

    Note:

    While a passphrase is not required, Oracle recommends using 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.

  7. Click Save private key.
  8. Select a location to which to save the converted (.ppk) private key file.