Mosh is the perfect client for persisting and resuming sessions in the face of challenging connectivity. Close your laptop for lunch, re-open it afterwards and just keep going seamlessly. Ipad screen locks and kills your SSH sessions? Mosh will let you resume instantly. Don't get me wrong, tools like tmux and screen are still useful, but you don't have to ssh back in and then reattach with mosh.
Mosh is absolutely fantastic. The reliability and recovery of the connection works even over extremely low bandwidth and lossy connections (e.g. when using a covert IPv4 channel), and instant local echo for responsiveness, as well.
It's a similar project that keeps SSH connections alike. Unlike Mosh, it doesn't reduce remote lag, but on the plus side, it doesn't break the history buffer and works nicely with tmux control mode.
For people using or considering Mosh or Eternal Terminal: I'd love if you could try DomTerm (https://domterm.org). Specifically DomTerm's support for stable remote connections - see https://domterm.org/Remoting-over-ssh.html .
DomTerm has some advantages over Mosh, including more complete emulation of modern terminals, buitin tiling+tabs (connect and manage many local and remote terminals), and it has decent input prediction as well as optional local input line editing.
I have just tested this and am so very happy that it finally works. Mosh is one of the few indispensable tools I constantly rely on and wouldn't know what to do without it.
A couple of days ago I tried Eternal Terminal as an alternative but it wasn't for me. Mosh's missing scrolling is still no problem for me as I just use tmux for that.
Very cool, Thanks! I really really hope we can get a native windows client on of these years as this prevents any sort of wide scale adoption at the company I work, and I've heard similar comments from others.
Recently traveled by train through part of the United States and kept the same Mosh session going the entire time through cellular drops and long periods of inactivity. Amazing stuff!