Bug 319117 - kio sftp does not use the user .ssh/config file settings
Summary: kio sftp does not use the user .ssh/config file settings
Status: RESOLVED DUPLICATE of bug 270322
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: sftp (show other bugs)
Version: 4.10.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 14:12 UTC by Craig Magina
Modified: 2013-05-06 15:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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