Symptom
- In Cloud Integration (former CPI), message processing is failing with the following error:
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://<SFTP USER>@<SFTP HOST NAME>:<SFTP PORT>, cause: com.jcraft.jsch.JSchException: reject HostKey: <SFTP HOST NAME>
or
com.jcraft.jsch.JSchException: HostKey has been changed: <SFTP HOST NAME>
- SSH Connection Test fails with similar error, when "Host Key Verification" option is enabled.
- This issue may also occur after the July 2023 update to the following Cloud Integration Versions
- Neo: 5.49.x
- CF: 6.41.x
For more details, please see:
SAP KBA 3300095 FAQ: Potential Incompatibility in SFTP connectivity in CPI
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- Cloud Integration
- SAP Integration Suite
Product
Keywords
Cloud Integration, CPI, SFTP, hostkey, reject hostkey, hostkey has been changed, hci, tenant, IFlow, Integration Flow, deployment, SAP Cloud Platform Integration, SSH Outbound Connection Test, com.jcraft.jsch.JSchException: reject HostKey, org.apache.camel.component.file.GenericFileOperationFailedException, known hosts, known_hosts, known.hosts, SAP CPI, CPI, SCPI, SAP Cloud Integration, SAP Integration Suite , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , LOD-HCI-PI-RT , Integration Runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.