Skip to Content
author's profile photo Former Member
Former Member

Key based authentication issue in SFTP adapter

Dear Experts,

We have a scenario ECC -->SAP PI 7.0-->SFTP server where we are trying to connect to the SFTP server with a Advantco(3rd Party) SFTP adapter. We have placed our private key in a local folder in PI server (not using Net Weaver Key Store) and shared corresponding OpenSSH public key to the trading partner maintaining the SFTP adapter. However, while trying to connect the server through PI, we are getting “com.jcraft.jsch.JSchException: Auth fail” error. Our basis team has confirmed that the SFTP server is reachable when they are trying manually having the same key-pair, but only our SFTP adapter is not able to connect.

Could you please tell me if we are missing any part of configuration? Like any specific location we need to place the private key in PI server?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2014 at 05:48 AM

    It's solved now. there was some problem related to passphrase we were giving at the time of generating the key. We have generated a key pair without passphrase and the adapter can reach the target SFTP server properly.

    Thanks,

    Soham

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.