SFTP Trusted Key File

I'm trying to use the Trusted Key file with the SFTP adapter. I assume that this is supposed to contain the list of known hosts and their fingerprints. Can someone please provide some details on the format needed for this file?

This file is expected to be saved in standard OpenSSH "known_hosts" key format. Each host key in this file is represented with a line <host>[space]<key-type>[space]<key-blob>, e.g.
192.168.0.1 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwhvMWEAi...hkyQw==

Please use SshKeyGetter tool from SecureBlackbox Tools package to get the key of the server.

Thank you for the very helpful information. Unfortunately, I am still unable to get this functionality to work. I tried using the TrustedKeyFile approach (with this property containing the path to the known_hosts file) and TrustedKeySource set to File. I also tried using the same known_host information stored in the TrustedKeys property with the TrustedKeySource set to Value.

I checked the format of my known_hosts file by running a Python script (KH2REG.PY) to convert the known host format to PuTTY registry file format. NOTE: I did have to modify the script because we are using a port other than 22 and the script was hard-coded for port 22. PuTTY was able to recognize the SSH key properly.

So, it seems as though my known_hosts file is good.

As I mentioned, we are NOT using port 22 for SFTP. Any suggestions on what I might try?

It seems that your known_hosts file is not understood by the adapter for some reason. Can you please post it to Helpdesk so that we could check what's wrong? Trusted keys file does not contain sensitive information (all the keys contained in it are public), so no private information will be revealed.