Mosh is a remote terminal application that supports intermittent connectivity, allows roaming, and provides speculative local echo and line editing of user keystrokes.
Mosh aims to support the typical interactive uses of SSH, plus:
* Mosh keeps the session alive if the client goes to sleep and wakes up later, or temporarily loses its Internet connection.
* Mosh allows the client and server to "roam" and change IP addresses, while keeping the connection alive. Unlike SSH, Mosh can be used while switching between Wi-Fi networks or from Wi-Fi to cellular data to wired Ethernet.
* The Mosh client runs a predictive model of the server's behavior in the background and tries to guess intelligently how each keystroke will affect the screen state. When it is confident in its predictions, it will show them to the user while waiting for confirmation from the server. Most typing and uses of the left- and right-arrow keys can be echoed immediately.
As a result, Mosh is usable on high-latency links, e.g. on a cellular data connection or spotty Wi-Fi. In distinction from previous attempts at local echo modes in other protocols, Mosh works properly with full-screen applications such as emacs, vi, alpine, and irssi, and automatically recovers from occasional prediction errors within an RTT. On high-latency links, Mosh underlines its predictions while they are outstanding and removes the underline when they are confirmed by the server.
Mosh does not support X forwarding or the non-interactive uses of SSH, including port forwarding.
All code Code
- Version control system:
- Programming languages:
All packages Packages in Distributions
mosh source package in Yakkety
Version 184.108.40.206rc1-1 uploaded on 2016-05-25
mosh source package in Xenial
Version 1.2.5-2 uploaded on 2016-03-24
mosh source package in Wily
Version 1.2.5-1build1 uploaded on 2015-08-10
mosh source package in Vivid
Version 1.2.4a-1ubuntu2 uploaded on 2014-12-04
mosh source package in Utopic
Version 1.2.4a-1ubuntu1 uploaded on 2014-03-30