Bug 479546 - can't open any files from dolphin on sftp if the username is not specified
Summary: can't open any files from dolphin on sftp if the username is not specified
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (show other bugs)
Version: 23.08.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 19:26 UTC by Renner03
Modified: 2024-01-08 20:12 UTC (History)
0 users

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 Renner03 2024-01-08 19:26:26 UTC
If you open a file from a sftp server from dolphin you have to specify the username of the connection to open the files. Browsing works just fine.
Even though I configured it so I don't have to type any username in ssh config.

kioclient exec "sftp://username@homeserver/home/username/example.txt" works

kioclient exec sftp://homeserver/home/username/example.txt does not work, though you can browse the files correctly. Opening the file does not yield in any error message other than:
kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/sftp" not found

STEPS TO REPRODUCE
1. Create Entry in ~/.ssh/config specifying username and hostname
2. Use the "shortcut" in dolphin with sftp://homeserver/home/username/
3. open file from dolphin

OBSERVED RESULT
does not open the file

EXPECTED RESULT
opens the file

Linux/KDE Plasma: Fedora Kinoite 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
kio-extras-23.08.4-1.fc39.x86_64

ADDITIONAL INFORMATION

just ssh homeserver works
relevant entry in ~/.ssh/config

Host homeserver
  HostName myhomeserver.com # domain that points to internal IP of local network
  User username
  PreferredAuthentications publickey
  IdentitiesOnly yes
  IdentityFile ~/.ssh/homeserver

Let me know if I can provide any log files or something like that