I use multiple ssh keys and have a .ssh/config to ensure the correct keys are used for each address. On the command line everything works fine, but whenever I try and connect to my local server using the kio-sftp plugin in Dolphin or the KNetAttach wizard to add a a ssh folder, it fails with a "can't connect to server" error message (KNetAttach) or "The host key for this server was not found, but another type of key exists (sftp:// url in dolphin)." Reproducible: Always Steps to Reproduce: 1. Create a .ssh/config with an identityFile specified other then the default id_rsa i.e. Host foo IdentityFile ~/.ssh/foo 2. Open dolphin and enter that servers address using the "sftp://" protocol i.e. sftp://foo Actual Results: "The host key for this server was not found, but another type of key exists" error message will be displayed. Expected Results: Either a password dialog if the ssh key was password protected or it should just display the contents of the remote system specified in the sftp://foo/<path> url.
The host key has nothing to do with your private rsa key! *** This bug has been marked as a duplicate of bug 270322 ***
I understand, thanks for a link to the actual issue and I have submitted a bug in launchpad against the ubuntu package linking to that. https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1176970