In $HOME/.ssh/config, I have defined something like: Host somedomain.com User someuser But when connecting with fish in Dolphin as fish://somedomain.com, the username from the config isn't used, instead my own username is used. Other specs like Port and IdentityFile are used. Why not User?
I am also experiencing this, behaviour seems to be unchanged as of today.
As a workaround, you can pass your username as fish://serverusername@somedomain.com Currently the code defaults the username when not set in the url to your username. line 713 of fish.cpp The fish ioslave is quite old code and hard to maintain. I can't test it. I could provide a patch but I will need someone to test it. Do feel you can do it Massimiliano ? You can follow https://www.youtube.com/watch?v=B4xoc0K5iA4 but just for kio-extras, i.e kdesrc-build kio-extras
(In reply to Méven Car from comment #2) > As a workaround, you can pass your username as > fish://serverusername@somedomain.com > > Currently the code defaults the username when not set in the url to your > username. > line 713 of fish.cpp > > The fish ioslave is quite old code and hard to maintain. I can't test it. > > I could provide a patch but I will need someone to test it. > Do feel you can do it Massimiliano ? > You can follow https://www.youtube.com/watch?v=B4xoc0K5iA4 but just for > kio-extras, i.e kdesrc-build kio-extras Hi Méven. Thanks for the feedback. I am available to test it (I had set up a Neon VM for this kind of stuff), I can also take a look at the source code but I am not sure I am experienced enough to help.
You checkout this branch https://invent.kde.org/meven/kio-extras/-/tree/work/fish-bug-380417 and let me know how it goes. I don't know much about fish protocol in particular, so expect the unexpected.
(In reply to Méven Car from comment #4) > You checkout this branch > https://invent.kde.org/meven/kio-extras/-/tree/work/fish-bug-380417 and let > me know how it goes. > > I don't know much about fish protocol in particular, so expect the > unexpected. Testing this is on my todo, I apologise but I got busy with work and I do not have the test bench ready yet.