Transfer the file to Client SFTP Server folder from Pega Cloud using SSH

Hi Team, We have requirement to transfer excel file to Client SFTP server from Pega Cloud. We have done following steps to solve this.

  1. Create cloud request for pega to create SSH Public key

  2. Shared this public key to client SFTP team to configure at their end

  3. Configured host/port provided by client in FTP server rule.

  4. Configured username provided by client to access FTP server using Authentication Profile rule.

  5. Left ‘Server Key’ field as blank as it’s not required parameter to pass.

  6. Not sure what should be provided in ‘Client Key’ field??

  7. Test connectivity shows failure in Login as shown in attachment, I’m sure this is due to not passing correct client key.

Do we need to configure Pega’s private key in this field? or Client’s private Key?

If it’s Client’s private key, I’m not sure if they will ever share their private key to configure in Pega.

please suggest !!

Here are steps we took to resolve.

Pega Cloud team will not be responsible for managing SSH keys used for connecting to external SFTP server.

  1. created Pub/Private keys using PuttyGen

  2. shared public key with external SFTP team to configure at their end

  3. configured private key in keystore rule and places it in client Key FTP server field

  4. perform test connectivity

  5. Use this FTP server in connect-FTP activity method