tabby icon indicating copy to clipboard operation
tabby copied to clipboard

.ssh/config import; 'root' is default user name

Open jknofe opened this issue 2 years ago • 1 comments

Version: 1.0.187 Platform: Linux x64 5.15.0-56-generic Plugins: sync-config, quick-cmds, docker Frontend: xterm-webgl

Hi guys,

in my opinion tabby should not default to 'root' if no user is defined in a .ssh/config file entry. As a user I would expect the same behavior as connection from a shell; then the currently logged in user is taken.

Regards,

Jo

jknofe avatar Dec 08 '22 12:12 jknofe

Even if the user is set, root is still the default in my case.

Host xy-alpha
    Hostname 172.16.81.97

Host xy-beta
    Hostname 172.16.81.98

Host xy-gamma
    Hostname 172.16.81.254
    User root

Host xy-*
    User fred

xy-alpha and xy-beta are set to user "fred" but not in Tabby. :-( This case is not handled properly. I make extensive usage of wildcard and default configuration in my .ssh/config.

joos2k avatar Jun 15 '23 07:06 joos2k