SAP Knowledge Base Article - Preview

3522685 - Connection to SFTP server failed, the login credentials provided are incorrect

Symptom

While transmitting data to third-party SFTP server, with Key-based authentication, the below errors can be encountered:

  • Catching com.jcraft.jsch.JSchException: Connection to SFTP server failed. The login credentials provided are incorrect
    at com.sap.aii.adapter.sftp.ra.rar.integration.sftp.SSHConnection.<init>(SSHConnection.java:215)
    at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.getConnection(SFTP2XI.java:1467)
    at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.sftpConnection(SFTP2XI.java:309)
    at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.invoke(SFTP2XI.java:234)
    at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:529)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)

  • Exception received: com.jcraft.jsch.JSchException: Connection to SFTP server failed. The login credentials provided are incorrect 


Read more...

Environment

  • SAP NetWeaver Process Integration
  • SAP NetWeaver Process Orchestration

Product

SAP Process Integration all versions

Keywords

Com.jcraft.jsch.JschException, Connection to SFTP server failed, Login credentials provided are incorrect, Private Key, Jsch, PEM, Public Key , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol 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.