Use Supported Formats for Key Pairs in SFTP

If you want to use public key authentication with SFTP servers for service instances in government realms, you must use SSH keys in OpenSSH format. PEM format does not work.

Perform the following task based on your scenario.

If... Then...
You need to create a new key pair

Enter the following command:

ssh-keygen -t rsa -m RFC4716
You already have a PEM-formatted key pair

Enter the following command to convert from PEM to OpenSSH format

ssh-keygen -p -f your_PEM_formatted_private_key -m RFC4716
Once the private key is generated, upload it to the Connections page for the FTP Adapter. If you open the OpenSSH-formatted key, the header must look similar to the following:
----BEGIN OPENSSH PRIVATE KEY----

If the key shows anything else, authentication fails.