Bug 476468

Summary: Authentication fails for sftp protocol with 2-factor authentication (2FA)
Product: [Applications] dolphin Reporter: jan
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel, murat.cileli
Priority: NOR    
Version: 23.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.