trzsz / trzsz-ssh

trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the openssh client. It aims to provide complete compatibility with openssh, mirroring all its features, while also offering additional useful features. Such as login prompt, batch login, remember password, automated interaction, trzsz, zmodem(rz/sz), udp mode like mosh, etc.
https://trzsz.github.io/ssh
MIT License
1.68k stars 100 forks source link

tmux批量登录无法分屏 #127

Closed chenqinru closed 1 month ago

chenqinru commented 2 months ago
image
lonnywong commented 2 months ago

tmux 是什么版本?

在 tmux 中执行 tmux splitw -h -t $(tmux display -p '#{pane_id}') -p 50 -P -F '#{pane_id}' tssh 看看是什么结果?

chenqinru commented 2 months ago

tmux 是什么版本?

在 tmux 中执行 看看是什么结果?tmux splitw -h -t $(tmux display -p '#{pane_id}') -p 50 -P -F '#{pane_id}' tssh

image

我还要设置啥吗

lonnywong commented 2 months ago

感谢反馈。tmux 3.4splitw-p 参数干掉了 https://github.com/tmux/tmux/issues/3836 ,我抽空兼容一下。

lonnywong commented 2 months ago

已解决。

v0.1.22 发布前,可以这样安装 go install github.com/trzsz/trzsz-ssh/cmd/tssh@main,安装的路径在 ~/go/bin/