Bug 515916

Summary: SFTP user ignored in URI / ssh config priority issue
Product: [Applications] dolphin Reporter: Tonurics <tonurics>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: grave CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tonurics 2026-02-12 19:17:34 UTC
SUMMARY

The SFTP user specified in the URI is ignored when accessing a host that has the User option set within the: ~/.ssh/config 

STEPS TO REPRODUCE
1. Have a ~/.ssh/config with User configured for a Host. i.e. "User john"
2. Assess a SFTP resource from Dolphin using a URI. i.e. sftp://bill@example.net

OBSERVED RESULT

Using the examples from the steps above: Dolphin will connect to example.net over SFTP using the "john" as the user, ignoring "bill" set within the Location Bar. 

The Location Bar will show the connection is being made using "bill" as the user, even though the connection is made with the "john".

EXPECTED RESULT

Dolphin should connect to example.net over SFTP using the "bill" as the user.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.18.9-arch1-2 (64-bit)
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2