3 ms·
After experimenting with mosh, tmux, screen, etc I've finally found my ideal ssh setup. At work I do development on my Mac and run builds on a cloud desktop. My
by Zaheer 10y ago
After experimenting with mosh, tmux, screen, etc I've finally found my ideal ssh setup. At work I do development on my Mac and run builds on a cloud desktop. My Setup:
1. Unison for file-sync (https://www.cis.upenn.edu/~bcpierce/unison/ https://www.cis.upenn.edu/~bcpierce/unison/)
2. iTerm on Mac
3. AutoSSH for more durable SSH sessions (ex. close laptop & reopen at home) - http://www.harding.motd.ca/autossh/ http://www.harding.motd.ca/autossh/
4. tmux -CC command to attach to tmux session with iTerm Tmux integration. This is the killer feature, it treats a tmux session as a native iTerm window. This means all of the 'learning' you previously had to do with Tmux is nearly non-existent (copy / paste, switching tabs, etc). My biggest annoyance with TMux was the copy / paste special handling. Huge productivity loss.
All-together it looks something like this:
Open iTerm.
autossh -t myRemoteHost "tmux -CC -A"
Instantly have a _fairly_ durable terminal session on my remote desktop.
- schemathings 10y agoIronically, you got me interested in trying out Unison, but the download links are broken :(