Mosh (mobile shell) as a replacement for traditional SSH sessions

Mosh is used as a replacement for interactive SSH sessions. It converts the standard ssh session from TCP to UDP, allowing for stateless roaming, changing IP address in an active remote session, and resuming a session after traveling from work to home. It’s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.

Install on a MAC: brew install mosh

Mosh Terminal

For iOS (iPad, iPhone), I use Blink Shell with built-in Mosh support. This works well when traveling light and connected to a cellular hotspot. No need to worry about spotty signals or dropped connections. Mosh will automatically reconnect.

Blink Shell

Mosh is available is most Linux distributions: sudo apt install mosh