https://bugs.kde.org/show_bug.cgi?id=479546
            Bug ID: 479546
           Summary: can't open any files from dolphin on sftp if the
                    username is not specified
    Classification: Frameworks and Libraries
           Product: kio-extras
           Version: 23.08.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: renne...@protonmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to