Bug 319117

Summary: kio sftp does not use the user .ssh/config file settings
Product: [Frameworks and Libraries] kio Reporter: Craig Magina <Craig.Magina>
Component: sftpAssignee: Andreas Schneider <asn>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Craig Magina 2013-04-30 14:12:00 UTC
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.
Comment 1 Andreas Schneider 2013-05-06 08:16:43 UTC
The host key has nothing to do with your private rsa key!

*** This bug has been marked as a duplicate of bug 270322 ***
Comment 2 Craig Magina 2013-05-06 15:39:06 UTC
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