Converting a Private Key to the OpenSSH Key Format

How to:

During implementations of the SFTP listener, you may be prompted to accept a public key from a SFTP server. In this scenario, you must ensure that the private key file being specified for the SFTP listener is generated using OpenSSH key format. Otherwise, the SFTP listener will be unable to open the file. Usually, private key files that are generated for PuTTY interfaces have a .ppk file extension. You must convert the private key file to OpenSSH key format by using the PuTTY Key Generator tool, which can be downloaded from the following website:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Once you download the PuTTY Key Generator tool, perform the following steps.

Procedure: How to Convert a Private Key to the OpenSSH Key Format

To convert a private key to the OpenSSH key format using the PuTTY Key Generator tool:

  1. Open the PuTTY Key Generator tool, which is shown in the following image.
  2. Enter a passphrase when prompted.
  3. Click Conversions from the menu bar and select Export OpenSSH key, as shown in the following image.

    The Save private key as dialog box opens, as shown in the following image.

  4. Navigate to a directory on your file system that is accessible by iWay Service Manager.
  5. Enter a file name for the private key followed by the .pem extension to distinguish it from .ppk PuTTY key files.
  6. Click Save.