Re:Getting started with Tmux
by therealmarv on Sunday September 16, 2018 @01:26PM
(#17999970)
I never learned the "real" tmux and always using `tmux -CC`
and `tmux -CC attach` on a iterm. Anything else you do differently in your workflow?
Use it with autossh for automatically reconnecting during computer standby / internet drops. I used to use Mosh + TMux for super durable connections and that worked beautifully. Unfortunately Mosh doesn't play well with ITerm's native integration so you can achieve a poor man's Mosh by using http://www.harding.motd.ca/autossh/.
All-together it looks something like this: Open iTerm. autossh -t myRemoteHost "tmux -CC -A"
[0]: https://www.iterm2.com/documentation-tmux-integration.html