Mosh
A remote shell that replaces interactive SSH and survives roaming, sleep and dropped connections.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get Mosh
Package managers
- Homebrew
brew install mosh
About Mosh
Mosh (mobile shell) keeps a remote terminal session alive when your IP address changes, when a laptop sleeps or when the connection drops, resuming once the network returns. It also echoes your typing locally so editing feels instant on slow or high-latency links, including in full-screen programs like vim and emacs.
It uses SSH to log in and then runs its own UDP-based protocol, so mosh-server must be installed on the remote machine. Clients exist for Linux, BSD, macOS and Solaris, with third-party apps on Android and iOS.
Strengths
- Sessions survive IP changes and sleep
- Local echo reduces perceived lag
- Works well over Wi-Fi and cellular links
Limitations
- Server component must be installed on the remote host
- Needs UDP ports open through firewalls
- Releases are infrequent
Details
- Pricing
- FreeFree software.
- License
- GPL-3.0
- Developer
- The Mosh contributors
- Platforms
- macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Best suited for
- Staying connected to remote shells from laptops and phones on unreliable networks
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to Mosh
Compare allSoftware that can replace Mosh for an important use case, and what changes if you switch.
Eternal Terminal
A remote shell that reconnects automatically after network drops without interrupting the session.
Eternal Terminal also keeps sessions alive across network drops and IP changes, adds native scrolling and tmux control mode, and uses existing ssh for authentication.
OpenSSH
The standard SSH client and server suite for encrypted remote login, file copying and tunnelling.
OpenSSH is the standard SSH suite with port forwarding and file copying, but sessions do not survive roaming or sleep, and it needs no UDP ports.
Similar software
Related functionality, not necessarily a direct replacement.
tmux
Keeps terminal sessions alive on a server after you disconnect, and splits one window into many.
GNU Screen
A terminal multiplexer that runs several shell sessions in one window and keeps them alive after disconnecting.
Blink Shell
An SSH and Mosh terminal for iPhone and iPad with local Unix tools and SFTP support.
Prompt
Panic's native terminal and SSH client for Mac, iPhone, iPad and Vision Pro, with Mosh support.
Termius
A cross-platform SSH client for desktop and mobile that syncs hosts, keys and snippets between devices.
Zellij
A terminal multiplexer that tells you its own shortcuts on screen, so you can use it on day one.