Bug 403020

Summary: Sftp only tries first SSH key
Product: [Frameworks and Libraries] kio-extras Reporter: Linus Kardell <linus.kardell>
Component: SFTPAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: 17.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Linus Kardell 2019-01-09 07:42:26 UTC
SUMMARY
If you set multiple IdentityFile settings for a host in ~/.ssh/config, the sftp KIO slave only tries the first one, and falls back to password if it doesn't work. This differs from the command line sftp client, and SSH, which tries all keys.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Leap 15.0
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4
Comment 1 Harald Sitter 2020-03-05 12:43:09 UTC
Please file a bug against libssh. KIO is actually not in charge of the config handling.
https://bugs.libssh.org