Invalid privatekey error when publishing via SFTP
When using SSH Key authentication for SFTP Transports, you may see the following error when testing the Transport or when publishing to a Destination that uses it:
Bash
SFTP error occurred during SFTP Shuttle initialization: invalid privatekey: [x@xxxxxxx
To resolve it, upload your SSH key in PEM format. A command like the following produces a valid key pair in that format:
Bash
ssh-keygen -t rsa -m PEM
For more on the ssh-keygen command, see ssh.com's keygen reference.