Closed JayBraker closed 1 month ago
Does not reproduce for me with those steps:
echo "hostname ox\nlogin_shell bash\nenv FOO=BAR" > ~/.config/kitty/ssh.conf && kitty kitten ssh ox
Logs in with bash instead of the default zsh, as expected. And the env var FOO set to BAR
Describe the bug I setup a minimal kitty config in
$HOME/.config/kitty/kitty.conf
which works as expected. However I want to specify a custom login shell for a specific remote host so I followed https://sw.kovidgoyal.net/kitty/kittens/ssh/#login-shell-environment and created the$HOME/.config/kitty/ssh.conf
accordingly - it contains 2 linesHowever even after I started a fresh kitty instance, the
ssh.conf
seems to be ignored completely.When I specify the loginshell inline it works as expected
kitten ssh hostname.example.com --kitten login_shell=zsh
To Reproduce Steps to reproduce the behavior:
$HOME/.config/kitty
is recognized by kitty$HOME/.config/kitty/ssh.conf
Environment details
Additional context
kitty --config NONE
did not change the observed behavior