4 ms·
Why would one prefer tmux or screen over multiple ssh sessions on a nice tabbed terminal program like iTerm2 ?
by jvandonsel 10y ago
Why would one prefer tmux or screen over multiple ssh sessions on a nice tabbed terminal program like iTerm2 ?
- jjnoakes 10y agoBecause if your network drops the connections, you can resume with tmux or screen, but not with vanilla ssh.
- jiqiren 10y agoThis is solved with mosh: https://mosh.mit.edu https://mosh.mit.edu Uses UDP/protobuffs so network connection can be lost/changed/etc.
- josteink 10y agoAnd since almost nobody uses mosh (and let's not talk about security implications of its implementation), problem is not really solved at all. You know, from a practical point of view.
- hythloday 10y agoNot sure if you're aware but iterm2 (v3) has tmux support so you can have the benefits of both.
- CJefferson 10y agoWhy would you prefer multiple ssh sessions over a single ssh session and tmux with iTerm2, which will let you keep the tabs (and when you make a new tab, automatically make it a remote connection). Look at 'tmux -CC', it's really great.
- CaptSpify 10y agoI use a jump-server, so I can ssh in, and connect to an existing tmux session. If I handled my terminals locally, I wouldn't be able to do that.