SAP Knowledge Base Article - Public

3310801 - Dell Boomi Error Message: SFTP Connection Closed By Foreign Host

Symptom

In Boomi SFTP Connector, while updating the host key, the newly added Known Host Entry key is not being recognized. 

When you upgrade, new key into the Known Host Entry under SSH Options but the connection fails for "connection is closed by foreign host"

Environment

  • SAP SuccessFactors HCM Suite
  • Dell Boomi

Reproducing the Issue

The Known Host Entry under SSH Options SFTP Connection was blank, and the connection processed successfully

Now upgrade, new key into the Known Host Entry under SSH Options but the connection fails for "connection is closed by foreign host"

Resolution

Follow the below steps: 

1. You can leave the username and password blank in the connection, as want to authenticate using the Private key under SSH options.

2. Convert the Private key file (.ppk file) to OpenSSH file format using the PuttyGen.

3. Now save that newly Generated Open SSH key file anywhere in the Atom server (except Atom installation directory).

4. Select the option "Use Private Key Authentication" and then Mention the path of the key file under "Client SSH Key File Path" field, under the SSH options of the connector.

5. Enter the password that you've setup for the Key file.

6. Copy-Paste the content of the OpenSSH key file in the "Known Host Entry".

7. Save the connector and test.

See Also

Dell Boomi Article - https://community.boomi.com/s/article/howtogenerateapublicprivatekeypairforsftp 

Keywords

Dell Boomi, Known Host Entry, "connection is closed by foreign host", Boomi, Successfactors, Integration  , KBA , LOD-SF-INT-BPI , Dell & Boomi Infrastructure , Problem

Product

SAP SuccessFactors HXM Suite 2211