cancel
Showing results for 
Search instead for 
Did you mean: 

Connect SFTP with HCI using eclipse

0 Kudos

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,

Accepted Solutions (0)

Answers (4)

Answers (4)

sujit_hemachandran
Participant

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/fc8467b6dc7e4047...

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

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/dcf0040fa5174547...

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

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

Hope you are able to proceed with this information.

Best Regards,

Sujit

0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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