SAP Knowledge Base Article - Preview

3359283 - Error "com.jcraft.jsch.JSchAlgoNegoFailException: Algorithm negotiation fail" occurs after JSch library upgrade in July 2023


After the JSch library version was  updated to 0.2.8 in July 2023, SAP Cloud Integration (former: CPI) tenant could not establish connection to SFTP server and the following error occurs when performing connectivity test via SSH:

com.jcraft.jsch.JSchAlgoNegoFailException: Algorithm negotiation fail: algorithmName="server_host_key" jschProposal="ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256" serverProposal="ssh-rsa,ssh-dss" 



  • SAP Business Technology Platform
  • SAP Integration Suite
  • Cloud Integration


Cloud Integration 4.0 ; SAP Integration Suite 1.0


Cloud Integration, Integration Suite, HCI, CPI, SCPI, HANA Cloud Integration, tenant, iFlow, Integration Flow, SFTP adapter, SSH, SFTP server, SFTP client, connectivity test, test connectivity, Algorithm negotiation fail, cipher, cipher suites, deprecated algorithms, jsch update, jsch library, ssh-rsa, ssh-dss , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , 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.