Skip to Content
0

Getting Error while connecting to SFTP server

Jun 10, 2017 at 04:29 AM

89

avatar image
Former Member

Hi All,

I am getting error while connecting to SFTP server through HCI.

Error:Cannot connect to sftp cause: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException:

This error is because of Certificate ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sriprasad Shivaram Bhat Jun 11, 2017 at 10:42 AM
0

Hello Aditya,

Please add public key of the SFTP server to known_host file,it should work then.

Regards,

Sriprasad Shivaram Bhat

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Sriprasad,

That we have already deployed.But didn't added certificate to the tenant(system.jks) .Do we need to add certificate also?

Thanks and Regards,

Aditya

0
Sriprasad Shivaram Bhat Jun 14, 2017 at 08:26 AM
0

Hello Aditya,

As per my understanding you need to raise a request to SAP OPS team to white list your client SFTP server IP and work with Client network team to white list SAP HCI tenant IP range ( refer SAP HCI HELP ).

If its username/password based authentication its not required to import anything to system.jks entry to known_hosts file will suffice.

Regards,

Sriprasad Shivaram Bhat

Share
10 |10000 characters needed characters left characters exceeded