Friday, June 27, 2025

SAP IS: How to upload Known Host Keys to SAP BTP IS for SFTP Connectivity.

  In this blog I will explain how to create a known host file into SAP BTP IS and also how to update an already deployed known hosts file in SAP IS.


Assumption

You have already received the known host key file from the target server where you want to connect.


Create a Known hosts file in SAP IS.


  • Login to SAP BTP IS

  • Select Monitor --> Integration and APIs --> Manage Security --> Security Material



  • Click on Upload --> Known Hosts (SSH)



  • Choose the file and click on 'Deploy'.


  • The host keys should be uploaded  now. You should be able to see the below. You can clock on the download icon to download the file and verify.



You can no do your SFTP connectivity testing now.




Update a Known hosts file.


If you want to update the known hosts key file or add new entries to the file, you need to download the file first and update/add the entry in the downloaded file. 

Then follow the above steps to upload again.


Note:- If don't download the file and make changes in that file, you will basically override what was there and it could cause issues


Reference:

Known Hosts File

Deploying an SSH Known Hosts Artifact

Maintaining the Known Hosts File for SFTP Connectivity



Feel free to point out if anything is missing/wrong in this blog.

No comments:

Post a Comment

SAP IS: How to upload Known Host Keys to SAP BTP IS for SFTP Connectivity.

   In this blog I will explain how to create a known host file into SAP BTP IS and also how to update an already deployed known hosts file i...