Converting a private key to an OpenSSH key for SFTP

Describes the steps required to convert a private key (PEM or PPK) to an OpenSSH key. This can be used for SFTP Nodes when setting up the ClientPrivateKeyFileContents for the Connection.

Steps

  1. Download and install PuTTYgen

  1. Load the existing private key file. Go to File -> Load private key. (Select All files if the private key is in the PEM format)

  1. Convert the loaded private key to an OpenSSH key. Go to Conversions -> Export OpenSSH key.

  2. Copy the contents of the file to the ClientPrivateKeyFileContents property in the SFTP Connection.

Supported Private Key and Encryption Algorithms

Supported Private Key Formats

  • RSA — OpenSSL PEM, ssh.com, and OpenSSH key formats
  • DSA — OpenSSL PEM and ssh.com formats
  • ECDSA (256 / 384 / 521) — OpenSSL PEM and OpenSSH key formats
  • ED25519 — OpenSSH key format

Supported Encryption Algorithms

  • DES-EDE3-CBC
  • DES-EDE3-CFB
  • DES-CBC
  • AES-128-CBC
  • AES-192-CBC
  • AES-256-CBC