Issue –> You are trying to create an SFTP based proxy service using an RSA key in the known_hosts file, you can see the below error.
Error –> Error encountered while polling the resource for the service endpoint
Key Not Found for host <hostname>,<IP address>
com.bea.wli.sb.transports.TransportException: Key Not Found for host <hostname>,<IP address>
When the known_hosts file is set up only with an RSA key, when the SFTP server either supports only an RSA key or both RSA and DSA keys, then the SFTP transport will use the RSA key.
When the known_hosts file is set up with a DSA key, and not matter whether an RSA key is also set up, SFTP transport will always use the DSA key.
Basically, when a DSA key is set up in the known_hosts file, it will use that otherwise, what every key is used, one of them (at random) will be used.