Skip to Content

HCI --> SFTP connectivity steps in SAP HCI

Hi Experts,

In case of SAP HCI --> SFTP & SFTP --> SAP HCI connectivity, if the SFTP server supports User Name/Password based authentication then credentials & directory alone are enough to connect to SFTP server or do we need known_hosts file to deployed in HCI? Kindly help.

Thanks,

Ramu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 14, 2017 at 10:10 AM

    Hello Ramu,

    Agree with Apu.

    You can navigate to Deployed Artifacts in Eclipse Tooling ( Tab next to Message Monitoring ) and locate the known_host file,if it is already avaialbe download it and append your required keys.

    If not available create a new file and save it to your desktop and follow the below to create the same.

    Below will show you sample known_host entry.

    how to get entry for known_host file:

    Follow the below post it will guide how to generate keys using open SSH( make sure your firewall is not preventing you to access the target server)

    https://answers.sap.com/questions/28265/hci-know-hosts-file.html?childToView=43251#answer-43251

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

    • Yes you can add the SFTP server name and manually edit the known_hosts file.

      To deploy the same you must have below role to your suser.

      Either you must have adminstrator role or Node manager.deploysecuritycontent role.

      To know more about roles and how to assign it to your user please refer sap hci help(clearly given in the help document)

      Regards,

      Sriprasad Shivaram Bhat

  • Jun 14, 2017 at 07:45 AM
    -1

    Hello Ramu,

    Although you are using UserName/Password based authentication it is required to update known_hosts file in sap hci with Public Keys of SFTP server.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 14, 2017 at 09:09 AM

    Hi Shivaram,

    I did not to update known_hosts file in SAP HCI with Public Keys of SFTP server. I tried "Test Outbound Connection" after I have given host name & credentials and it throws below error:

    Kindly let me know where to locate this "known_hosts" file in HCI. I should request for RSA public key right? after I get that I need to edit the known_hosts file with below format I hope " <SFTP host name> <Algorithm of key> < Public key> " . Please correct me If I am wrong.

    Thanks,

    Ramu.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Apu,

      Thank you for your reply.

      I generated the known_hosts file but unable to deploy that file under "Deployed artifacts" & I get the below error.

      Kindly help to get the required role to assign for the user to deploy it.

      Thanks,

      Ramu.

      error.jpg (24.8 kB)