Skip to Content

Cannot connect to SFTP server

Hi All,

Scenario: File to SFTP

Authentication : Key Based

Error Log:

************

Message could not be forwarded to the JCA adapter. Reason: java.lang.Exception: Cannot connect to SFTP server. SFTP server: SFTP-SAP-PI-QA@XXXXXX.com:22; server version=. Kex=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256. Ciphers=aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc,aes256-ctr,aes192-ctr,aes128-ctr,3des-ctr,blowfish-cbc,arcfour256,arcfour128,arcfour,none. MAC=hmac-sha1,hmac-sha2-224,hmac-sha2-256,hmac-sha2-384,hmac-sha2-512,hmac-md5,hmac-sha1-96,hmac-md5-96. Compression=zlib,zlib@openssh.com,none. FIPS 140-2 compliant=false

************

We have regenerated the keys and shared with the external partner to resolve the issue. But no luck, same goes with password based authentication as well.

No issue with the firewall as well, port is open. Telnet is successful.

Can anyone check and help me out to relove this issue?

P.S: We are using Advancto SFTP adapter.

Thanks in advance!

Regards,

Pavan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 28 at 12:04 PM

    Hi Pavan,

    Did you try accessing the SFTP Server through some standalone application like WINSCP?

    Regards,

    Vivek Jain

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 01 at 07:34 AM

    Hello,

    can you try to track the problem with XPI inspector? Check - https://wiki.scn.sap.com/wiki/display/XI/Tracing+PI+issues+with+XPI+Inspector+tool

    For B2B and SFTP adapters and modules issues:

    SAP KBA 2172012 - XPI Inspector log locations for B2B adapters and modules

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jan,

      Applogies for the delay in response.

      Was occupied with other implementations.

      XPI inspector helped me to debug the issue.

      Issue was from the server side.

      Regards,

      Pavan