Closed Minebomber closed 1 year ago
Put -p 1234 after ssh not after user@host
This is the canonical syntax for the ssh command CLI
ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination [command [argument ...]]
Describe the bug When using the ssh kitten, I can open a new tab with
new_tab_with_cwd
and it will open a new tab logged into the current ssh session if I open the session withkitty +kitten ssh user@host
. However, when I use a custom port (ie 1234), and try this, the new tab will hang indefinitely.To Reproduce Steps to reproduce the behavior:
map kitty_mod+t new_tab_with_cwd
kitty +kitten ssh user@host -p 1234
-p
flag.Screenshots https://imgur.com/a/8Xf2TW9
Environment details
Additional context Try to reproduce the problem with
kitty --config NONE
if you cannot then post a minimal kitty.conf that reproduces the problem. If the problem involves interaction with some other terminal program post a minimal config for that program to reproduce the problem as well.This problem only occurs with the new_tab_with_cwd binding for new tab that I have, with
--config NONE
it works since the new tab opens in the home directory.This issue isn't major, but an annoyance when I'm remoting into my desktop and trying to open multiple tabs when port forwarding something other than port 22.