Install mosh by entering the following commands in the terminal:
sudo apt update sudo apt install mosh
Description:
Mobile shell that supports roaming and intelligent local echo
Mosh is a remote terminal application that supports: - intermittent network connectivity, - roaming to different IP address without dropping the connection, and - intelligent local echo and line editing to reduce the effects of "network lag" on high-latency connections.
Homepage: https://mosh.org
Version: 1.3.2-2build1
Section: universe/net