3 ms·
Mosh works differently and at a different layer. With Mosh, the server and client both maintain a snapshot of the current screen state. The problem becomes one
by stcredzero 15y ago
Mosh works differently and at a different layer. With Mosh, the server and client both maintain a snapshot of the current screen state. The problem becomes one of state-synchronization: getting the client to the most recent server-side screen as efficiently as possible.
This is brilliant!
Combine that with the ability to rejoin your session and it's even more so -- only figures since the major use of screen was to enable this functionality over ssh.
- chimeracoder 15y ago> only figures since the major use of screen was to enable this functionality over ssh. Exactly - I don't understand what Mosh provides that GNU Screen doesn't... what problem is it actually solving?
- stcredzero 15y agoPackaging this functionality of screen with fewer manual steps with a protocol that provides a better experience over high latency connections.
- wdaher 15y agoWell, that and, this and screen are not mutually exclusive. I run a screen session inside my mosh all the time!
- enneff 15y agoPersistent connections regardless of your connectivity. I just unplugged my laptop from ethernet and walked into the living room. When the wifi connected my mosh sessions continued where they left off.
- throwaway64 15y agowith autossh and tmux i get exactly the same behaviour