Hi IFS Community,
We have two remote instances named UAT and PROD. We are currently on IFS Cloud 22R2 SU5. The SFTP reader/sender is configured on UAT environment and public/private key-based authentication is set up between the middle-tier cluster and the SFTP server. The SFTP reader and the sender was working without any issues since the initial setup was completed.
Recently we performed a database refresh on UAT using the PROD database backup. After the database refresh(clone) activity, We updated the SFTP reader, sender configuration on the UAT environment again.(updated the “knownhost” file, private key file and other configurations on the application)
However we noticed on the log files obtained from the ifsapp-connect pods, that the connection attempt from the container to the SFTP server using the private key file has not been successful.
ifsapp-connect logs:-
2023-11-03 09:49:27,370 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-8) Initializating SFTP Reader [SFTP_READER1]...
2023-11-03 09:49:27,371 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-8) Building SftpClient at [intsftp.stengglink.com:22]
2023-11-03 09:49:27,382 SEVERE [ifs.Integration] (EE-ManagedExecutorService-ConnectReader-Thread-8) PKI based authentication, using Identity file: /opt/ifs/instance/INST1/conf/sftp/prvkeyfiles/identity8770.txt
2023-11-03 09:49:27,448 SEVERE [ifs.Integration] (EJB default - 1) Restoring previous Logger
2023-11-03 09:49:27,448 SEVERE [ifs.Integration] (EJB default - 1) Calling nativeClose()...
2023-11-03 09:49:27,448 SEVERE [ifs.Integration] (EJB default - 1) Fatal error in timer [READER:SFTP_READER1] count=40 delay=600000
We checked the private key file inside the ifsapp-connect container as well and newly added knownhost file and private key files was available inside the container.
We also noticed that using that same private key file from the middle-tier host, we can make the connection to the SFTP server. Hence, it seems not to be an issue with the private key file.

Has anybody encountered this situation before?
We are looking for any recommendations to rectify this issue.
Kind regards,
Herath