My setup: Tmux locally, with many connections to different servers in different panes
What I want to do: Press a shortcut within one pane, to open a new pane with the same connection already set up.
Why: workflow. a lot of times when i'm working on my servers, i need to open a new pane to do something while some other thing is running. i would save a lot of time and effort if i could just open a new pane with everything already set up.
i'm open to other ways to achieve what i want to do. i could set up tmux on the remote machines, but i prefer running tmux locally.
I have come over ssh multiplexing, which solves one part of my question (only have to log in once per server). I have added this to my
### Multiplexing ### Host * ControlMaster auto ControlPath ~/.ssh/sessions/%C ControlPersist 1h
Now i have to figure out how to set up a shortcut in tmux to connect to the same host in a new pane.