Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

SSH Private - Public key pair required for SFTP connetion

SA-53369

Summary



User needs connect SFTP server from Pega through key based authentication and requires assistance to generate SSH Private - Public key pair.


Error Messages



Not Applicable


Steps to Reproduce



Not Applicable


Root Cause



How to question

Resolution



Assuming the SFTP server is hosted on Linux, following are the steps to configure SFTP server and generate RSA private or public key pair:
 
1. Create a Linux user for the SFTP server, for example, sftpuser, which do not require a password.
2. On the SFTP server, generate the RSA public and private key pair.
3. Run the command ssh-keygen -t rsa to generate the RSA private and public key files, id_rsa and id_rsa.pub, respectively.
4. Copy the content of the public key file id_rsa.pub into the file authorized_keys, located in the user home folder, /home/sftpuser/.ssh/authorized_keys.
5. Use the private key id_rsa from Pega to connect to the SFTP server.

 

Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us