title: How to send commands when opening a tmux session inside another tmux session?
body: <p>A typical situation may be:</p>
  
  <pre><code>$ tmux
    [0] $ ssh example.com
        $ tmux attach
          [0] $ 
  </code></pre>
  
  <p>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? </p>
  
  <p>Note: Both tmux sessions have the same key bindings.</p>