4 ms·
Remote sessions. Unless you want to use X forwarding, or create multiple SSH sessions, it's way more ergonomic to do it this way. I currently use tmux for this
by dljsjr 5y ago
Remote sessions. Unless you want to use X forwarding, or create multiple SSH sessions, it's way more ergonomic to do it this way. I currently use tmux for this and when you combine it w/ the tmux command mode (-CC) and iTerm 2 you get the best of both worlds, but even without iTerm 2 integration I still prefer panes to be handled by the multiplexer because then I know I can get my consistent and comfortable environment on any arbitrary remote box.
- nitnelave 5y agoYou can multiplex your SSH session and have several ssh commands running on the same connection (without having to type the password/check the security key again). Check the ControlMaster option for SSH.
- whimsicalism 5y agoAnd this is better than tmux... Why?
- _jal 5y agoI use both. The primary reason for ControlMaster in my case is we use 2FA, and this way I only have to auth one connection. Tmux is the UI for switching between ssh sessions sharing the connection.