0

As we all know tmux is quite nice tool, but there are some scenarios that Ctrl+B cannot be used.

For example, when I sshd to server A and now I connect to A's tmux pty. So Ctrl+B is captured by server A.

Then I ssh to server B from server A and tmux is already running on Server B. This time, Ctrl+B only works for server A and cannot be used by server B. So, if I want to switch window for server B, what should I do then?

1 Answer 1

2

You can still use Ctrl-b, but you need to repeat it to send to the nested tmux.

A better option would be to use different prefixes. For example the nested tmux could have:

set-option -g prefix C-a

in its tmux.conf, then Ctrl-a will be its prefix.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .