Bug 99708 - SFTP and FISH do not read ~/.ssh/config
Summary: SFTP and FISH do not read ~/.ssh/config
Status: RESOLVED DUPLICATE of bug 202606
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: sftp (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dawit Alemayehu
URL:
Keywords:
: 172342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-18 14:51 UTC by Jason Keirstead
Modified: 2021-11-08 20:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sftpkio-sshconfig.patch (3.95 KB, patch)
2007-02-05 23:19 UTC, Andreas Nuesslein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Keirstead 2005-02-18 14:51:25 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

My SSH login name for a server is in the form of an email address (me@somebox.com) , and is quite long. To save me from having to type it in everywhere, I have an entry for it in my ~/.ssh/config like this:

Host somebox.com
User me@somebox.com

To my dismay, neither FISH nor SFTP seem to respect the settings in this file - it is trying to connect with my local username, and failing (if it had been actually connecting with the name in the file, I would not even need a password, because of my keys ).

I also have some other settings in there regarding compression that I would like it to be respecting.

Let me know if I should also be filing a duplicate bug report for the FISH IO slave. I don't know if they have different maintainers?
Comment 1 Daniel Mitchell 2005-05-26 20:56:10 UTC
I'd really like to see feature implemented soon.
Comment 2 Andreas Nuesslein 2007-02-05 16:24:14 UTC
Full Ack..

this would be really good and i'm longing for this feature too =)   
Comment 3 Andreas Nuesslein 2007-02-05 23:19:59 UTC
Created attachment 19563 [details]
sftpkio-sshconfig.patch
Comment 4 Andreas Nuesslein 2007-02-05 23:23:50 UTC
ah - never attached a patch before.. wasn't quite sure, what it was going to look like. so anyways - i made a little patch for kde-3.5.6
it gives you the possibility to read User and Port from .ssh/config .
SSH_FORWARDAGENT and SSH_FORWARDX11   should be editable now too, eventhough they're probably not really relevant for the sftp:// connection.
compression i think was always able to be edited btw, but i'm not really sure about that.

enjoy =)
Comment 5 Andreas Nuesslein 2007-02-06 00:07:06 UTC
Comment on attachment 19563 [details]
sftpkio-sshconfig.patch

will let sftp_kio read a few settings from .ssh/config
Comment 6 Pino Toscano 2008-10-26 18:33:52 UTC
*** Bug 172342 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Schneider 2009-09-09 11:08:40 UTC

*** This bug has been marked as a duplicate of bug 202606 ***