Mosh !!exclusive!!
Mosh must be installed on both client and server. The server also needs UDP ports 60000–61000 open.
Mosh sessions persist even if the client’s IP address changes. A user can start a session on home Ethernet, close the laptop, walk to a cafe, open the laptop on a different Wi-Fi network, and find the terminal exactly as they left it. The mosh-client simply sends UDP packets to the server from the new IP address, authenticated by the session key. Mosh must be installed on both client and server
– A remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo. It’s more robust than SSH for flaky networks. A user can start a session on home
By switching to UDP, Mosh creates a stateless datagram stream. Unlike TCP, which requires a rigid handshake and sequence enforcement that breaks easily during network handoffs, UDP packets are independent. This allows the session to survive IP address changes. It’s more robust than SSH for flaky networks