SAP Knowledge Base Article - Preview

2122397 - "com.jcraft.jsch.JSchException: Auth fail" error in SFTP adapter


Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

You would like to connect to one SFTP server using the SFTP adapter in PI or Cloud Integration but it fails with the following exception:

com.jcraft.jsch.JSchException: Auth fail

The audit log in PI shows this error message:


The Cloud Integration WEB UI connectivity test shows the error message below:




  • SAP NetWeaver

  • SAP Process Integration
  • SAP Cloud Integration


SAP NetWeaver all versions ; SAP Process Integration all versions


PI SFTP PGP ADDON, CPI, SFTP, Password, Private key, SSH, JSchException, Auth fail, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, HCI, Cloud, Integration, Delivery, message, application, connection SFTP_ failed,, javax.resource.ResourceException, [GENERIC], [EXCEPTION] , KBA , hci , BC-XI-CON-SFT , Secure File Transfer Protocol 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.