Mosh - replacement (or addition) of SSH. It is faster and more responsive, especially on links with high latency, for example, in mobile networks. You type a character and instantly see it on the screen, just like in the local terminal. Why? Because Mosh implements the so-called local line editing, which does not wait for a response from the server, but immediately displays everything on the screen. It even works in fullscreen applications like vim or emacs. And this is not the only plus!
With Mosh you can:
•
Change ip and stay connectedMost software falls off if you switch, for example, between wi-fi networks. Mosh - no.
•
Save session when connection is lost.Fell online? Have you sent a laptop to sleep? Mosh wakes up, as if nothing had happened.
•
Run as userNo demons. You do not need to be root to install or run Mosh.
•
Login as beforeMosh does not listen to ports or authenticate. Mosh logs in ssh and starts the server via udp.
•
Press Control-C onceMosh does not fill the network buffers and uses udp, so if you accidentally put a 100 megabyte file on the screen, ^ C will instantly stop its output.
Disadvantages and ambiguities:
- IPv6 not yet implemented
- Works only with UTF-8
- Uses ports 60000–61000 (one thousand ports)
Official site