How to send commands when opening a tmux session inside another tmux session?
A typical situation may be: $ tmux [0] $ ssh example.com $ tmux attach [0] $ I open a tmux session, then ssh in to a server and attach to an existing tmux session. At this point I have one tmux session inside another. How do I send commands to the inner tmux session? Note: Both tmux sessions have the same key bindings. The send-prefix command can be used to send your prefix keystroke to (the process running in) the active pane. By default, the prefix is C-b and C-b is bound to send-prefix (so that hitting it twice sends a single C-b to the active pane). This is just what we need to access the