I'm testing out some code to use the SecureFTPConnection and with the ServerValidation set to None everything works fine. However, when I set it to Automatic and point it at my known_hosts file I see the following error in the log:
ERROR [SSHFTPClient] 13 Jan 2011 11:04:34.072 : No ssh-dss public key found for host 'mysftphost.com'
The known_hosts file does exist and it does have a key for that host. The issue seems to be that the PreferredHostKeyAlgorithms is set to DSA | RSA and that it only actually checks for the DSA key when it is set this way. If I set the PreferredHostKeyAlgorithms to RSA it finds the key in the file and connects correctly.
I can use this workaround for now but I'd like to be able to support both key types if possible...
Thanks!
Matt