I am accessing a remote server in Konqueror file manager using fish:// protocol (over SSH). All known file types that are plain text I can edit in Kate directly (right click > Open with > Kate). There are files that cannot be a made "known". For instance the .bashrc file in the user home directory cannot be added to file associations and therefore always remains unknown.
When I right click I see the option "Open with ...". I can then choose kate manually, but that apparently for some reason starts "kdesudo kate" and it asks my local user password. Elevated as root user there are other or no private ssh keys and consequently I am asked for enter the remote user password, which is random and not memorised.
How do I make life easier? How to add .bashrc to file associations? Or how to avoid that kate is sudo-ed?