Bug 476468 - Authentication fails for sftp protocol with 2-factor authentication (2FA)
Summary: Authentication fails for sftp protocol with 2-factor authentication (2FA)
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-02 12:55 UTC by jan
Modified: 2024-05-31 14:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2023-11-02 12:55:12 UTC
SUMMARY
My workplace enabled 2-factor authentication for ssh. When I try to connect from dolphin (or kate) via sftp, it doesn't ask for the second factor (TOTP) and the authentication fails.

STEPS TO REPRODUCE
1.  Connect to server with 2FA activated for ssh and sftp using sftp://user@servername.domain.de

OBSERVED RESULT
Authentication failed.

EXPECTED RESULT
Ask for 2nd factor (TOTP) and then display the files and folders

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
If I use fish:// instead of sftp:// I am asked for the 2nd factor (TOTP) and authentication succeeds.
Comment 1 Murat Çileli 2024-05-31 14:48:18 UTC
Issue still persists. A solution is implementing an 2FA support like Nautilus does.