The screen freezes. Commands hang mid‑execution. Your SSH session collapses under weak network links. This is the Linux terminal bug Mosh was built to kill.
Mosh—short for mobile shell—replaces fragile SSH connections with a protocol designed for high‑latency and unstable networks. It keeps the terminal responsive even when packets drop. It can roam between IP addresses without breaking session state. It gives you instant keystroke feedback while SSH stalls.
The core bug Mosh solves in Linux terminals is the disconnect between input and display under network fluctuations. SSH waits for round trips before showing output, so the terminal feels stuck. Mosh uses predictive echo to render input immediately. It syncs state asynchronously, so the interface never freezes. On lossy links, you keep typing commands and watch them appear without delay.