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
- Create an FTP Server rule with a KeyStore file.
- Customize the Data-Admin-Security-KeyStore.Validate activity to suppress the PPK validation.
- 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.
Published April 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.