SUMMARY Nowadays opening a sftp://url may require Duo or Google Auth to proceed, however Dolphin will not provide a way to complete the interactive login challenge STEPS TO REPRODUCE 1. Open a sftp://url that requires DUO OBSERVED RESULT Receive "Authentication failed." message in Dolphin EXPECTED RESULT Prompt with interactive message and an input box to provide the answer SOFTWARE/OS VERSIONS Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.7.7-050707-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i5-3210M CPU @ 2.50GHz Memory: 15.5 GiB of RAM
Please provide instructions for how to set up an sftp server for this.
Thank you for reading this bug. The full setup instructions can be consulted here: https://duo.com/docs/duounix A simpler way to test this may be with a passphrase protected key I believe? as it's kind of the same issue (interactive login)
I'm not sure how that can be viably implemented. One dolphin tab may be backed by more than one connection. Connections are closed and opened as required. For password auth that's not a problem because the password gets cached and so long as it doesn't change server-side there's no new auth request until the user logs out. Second factor auth tokens do change though so one would get flooded by auth requests every time a connection is opened or re-opened.
I'm not sure about the internals of Dolphin but maybe a flag can be implemented to identify connections that must be kept open/alive until the tab dies?
Alas, that'd would not help with multiple connections causing multiple auth requests and we need multiple connections as otherwise a file copy would prevent you from browsing the remote. Not to mention that keeping multiple connections open forever is questionable from a resource POV as there is a cost associated with each connection.
I think your concerns are valid. For now, in the absence of a better solution from my side I'll leave this workaround for those who come around this thread: https://help.duo.com/s/article/4038?language=en_US Basically, it's to disable DUO for sftp-only connections. Thank you for your time on reviewing this report!