[dolphin] [Bug 460152] New: Dolphin (fish) ignores ~/.ssh/config

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Oct 9 11:16:38 BST 2022


https://bugs.kde.org/show_bug.cgi?id=460152

            Bug ID: 460152
           Summary: Dolphin (fish) ignores ~/.ssh/config
    Classification: Applications
           Product: dolphin
           Version: 22.08.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: federico at kircheis.it
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY

When using fish in dolphin, the username and IdentityFile from ~/.ssh/config
are ignored


STEPS TO REPRODUCE
1. create a ~/.ssh/config that defines a host, with an username and key, for
example
----
Host machine1
        HostName 127.0.0.1
        Port 2222
        User admin
        IdentityFile ~/.ssh/id_rsa_backup
        IdentitiesOnly yes
----
2. Connect to the machine via ssh, and ensure that the IdentityFile is used
"ssh -v machine1"
3. Enter "fish://machine1/" as location in dolphin

OBSERVED RESULT

Dolphin opens a SSH authentication dialog which ask me for username (the
default username matches $USER, and not the value in ~/.ssh/config) and for a
password.
Both of them should not be necessary.


EXPECTED RESULT

Dolphin should not ask for username but read it from ~/.ssh/config if avaiable,
and not ask for a password but use IdentityFile if available and connect
directly

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list