SFTP Send File - 'invalid private key: [B@5bbde572'

Hello Everyone,

I am using another client’s SFTP server for demo purposes, which uses SSH key pair authentication with a private key that works in FileZilla.

I have created Third-Party Credentials in Appian using the username only and uploaded the private key along with a constant associated with it.

Here is my File Transfer Configurations CDT:

'type!{plugins.ps.appiancorp.com/.../}FT_Config'(

serverHostName: "xyz.com",

serverPort: 22,

scsExternalSystemKey: "aws-cmd",

usePerUserCredentials: false(),

privateKeyFile: tointeger(cons!MS_SFTP_USER_PRIVATE_KEY_FILE)

)

I am getting an error: invalid private key: [B@5bbde572.

I know the private key works fine because I have used it in FileZilla.

  Discussion posts and replies are publicly visible