Skip to main content

Support Article

SFTP Test connectivity fails with PPK

SA-50823

Summary



SFTP connection using PPK file fails.


Error Messages



Status: Fail
Message: Unable to connect

Caused by:
com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 256 to 2048 (inclusive) at com.jcraft.jsch.Session.connect(Session.java:558)



Steps to Reproduce

  1. Create an FTP Server rule with a KeyStore file.
  2. Customize the Data-Admin-Security-KeyStore.Validate activity to suppress the PPK validation.
  3. Click Test Connectivity.


Root Cause



A defect or configuration issue in the operating environment.
The default SFTP server port is 22; however the server was customized to a different port number.



Resolution



As a local-change, modify the SFTP port number to the default port number.


Suggest Edit

Published April 29, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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