Hi. I’m trying to set up an SSH Auth account in order to connect to an SFTP server.
I’ve been given a .ppk file that was generated by PuttyGen and I’ve verified that I can connect to the SFTP server using an FTP app (WinSCP) by supplying the user name and this .ppk file (the pass phrase is blank).
However I can’t seem to generate a correct private key that works with the SSH Auth account in SnapLogic.
I opened the file with PuttyGen then selected the menu option Conversion…Export OpenSSH Key. It generated a file like:
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtz
blah etc.
LTIwMTgwNTI5AQIDBAUGBwgJ
-----END OPENSSH PRIVATE KEY-----
I pasted this text into the “private key” field in the SSH Auth setup. However, when I use the account with a “Multi File Reader” snap, I get the error:
Invalid private key
Resolution: Please ensure private key is in OpenSSH key file format.
Reason: Missing private key header/footer might be a possible reason
Can somebody please tell me what I’m doing wrong?