Skip to Content

Connect SFTP with HCI using eclipse

I am using eclipse for HCI and want to use SFTP for reading and writing the files.

I was following this article (How to Configure SFTP for SAP HCI), but stuck at some steps.

1) What is SSH Server? Is it same like i go to filezilla and access my sftp directory.

2) At the following step, I downloaded the system.jks file

"Open the “system.jks” file with “KeyStore Explorer”
and input the password"

but when I try to open it, it asks me a password, and for that I found this.

I simply want to access SFTP using HCI.

Any particular assistance, or guidance

Thanks,

capture.png (18.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Apr 20, 2017 at 11:56 PM

    Hi Wajahat,

    To help understanding the terms and how you can communicate with an SFTP server, I would direct you to the following links:

    https://uacp2.hana.ondemand.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/fc8467b6dc7e40479d3d568cd79a3c1c.html

    https://uacp2.hana.ondemand.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/2de9ee58737247969eb7dc9e68b1b121.html

    On your specific question,

    1. SFTP works in a client-server fashion. When HCI is reading from an SFTP server, it is the client. So, by SSH server - we mean the SFTP server.

    2. You can connect to an SFTP server using certificate-based communication or username/ password -based communication. Which one are you using? If you are using username/ password - you do not have to exchange the keys. You need to only deploy the known_hosts file of the server: https://uacp2.hana.ondemand.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/dcf0040fa517454784669bed3eacfe8b.html

    You can check the connectivity to your SFTP server, too: Check this link:

    https://uacp2.hana.ondemand.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/bb16d2ddb97d48fb80f46d3165238414.html

    Hope you are able to proceed with this information.

    Best Regards,

    Sujit

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks for help. I am using certificate-based communication. I added a folder using filezilla namely ".ssh" and added the "authorized_keys" file in it. but still WinSCP and filezilla are unable to authenticate.

  • Apr 20, 2017 at 08:18 PM

    If you raise incident to update the system.jks. You wont be able to edit that file.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 21, 2017 at 07:16 AM

    Hi Wajahat,

    The keystore is managed by SAP. So if you would like to modify or add any certificates to it, please raise a customer incident to LOD-HCI.

    Regards,

    Gayathri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 13 at 10:18 AM

    Exchanging files is a very common scenario. You may have files to exchange that contain your HR data or your finance data and so and so forth or there may be legacy systems which can accept only files. In any case exchanging files becomes a very important activity.

    How SFTP Works?

    In the HCI (HANA Cloud Integration) world, when we connect to an SFTP server, HCI acts as the client. HCI never acts as the server whether it is pulling data from an SFTP server or pushing data to an SFTP server. In both cases, HCI works as the client and you have the server.

    Read more here How to Connect SFTP Server from SAP HCI

    Add comment
    10|10000 characters needed characters exceeded