Bug 202606

Summary: kio_sftp ignores port settings in the ssh configuration file
Product: [Frameworks and Libraries] kio Reporter: Ivo Anjo <ivo>
Component: sftpAssignee: Andreas Schneider <asn>
Status: RESOLVED FIXED    
Severity: normal CC: asn, dag, jason, me
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ivo Anjo 2009-08-05 12:47:36 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    SuSE RPMs

I have inside my ~/.ssh/config, something like

Host xpto
        HostName 192.168.0.2
        Port    2323

If I use fish://xpto/, it works, but if I use sftp://xpto/, the "Port" configuration is ignored, and the connection is made to port 22 instead of the specified one.
Comment 1 Andreas Schneider 2009-09-08 17:14:27 UTC
kio_sftp has been rewritten using libssh. SUSE has backported the rewrite to 4.3. However this is currently not supported by libssh but will be available with libssh 0.4.
Comment 2 Andreas Schneider 2009-09-09 11:08:40 UTC
*** Bug 99708 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Schneider 2009-11-05 17:39:20 UTC
SVN commit 1045269 by anschneider:

Read and apply settings from ~/.ssh/config.

BUG: 202606


 M  +3 -0      kio_sftp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045269