Bug 403020 - Sftp only tries first SSH key
Summary: Sftp only tries first SSH key
Status: RESOLVED UPSTREAM
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (other bugs)
Version First Reported In: 17.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-09 07:42 UTC by Linus Kardell
Modified: 2020-03-05 12:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

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