A single invalid SSH key in the known_host file leads to SFTP connection errors with all servers while using Strict Host Key check with TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP.

A single invalid SSH key in the known_host file leads to SFTP connection errors with all servers while using Strict Host Key check with TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP.

book

Article ID: KB0093023

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP -
Not Applicable -

Description

Resolution:
TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP internally uses the Jsch API. The Jsch API error with regards to the host key in wrong format seems correct as the SSH hostkeys always remains in standard format. Jsch parses all existing keys for different hosts in a known_host file and if any entry is in the wrong format, the Jsch API interprets this file as corrupted/compromised and dishonors all existing keys (though in correct format).

To resolve this issue, make sure all existing keys are in the correct format. Otherwise, use the option "Setup Host Public Key" available with the SFTP Connection shared resource which will generate a new known_host file  with the correct key. Whenever the server changes its public host key, the key content gets changed and not the format. While doing the "Setup Host Public Key", the old key gets replaced with new host key which will allow the client to connect with the server.

Environment

Product: TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP Version: 1.x,6.1 OS: All Supported Operating Systems --------------------

Issue/Introduction

A single invalid SSH key in the known_host file leads to SFTP connection errors with all servers while using Strict Host Key check with TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP.