# Mosh

> The mobile shell: a remote terminal that survives roaming and bad connections

Source: https://talira.ai/catalog/mosh-8795bj53
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / terminal / ssh clients](https://talira.ai/categories/developer-tools/terminal/ssh-clients)
- Platforms: linux, macos, freebsd, openbsd, netbsd, cli[^1]
- Licence: GPL-3.0-or-later WITH Mosh OpenSSL exception[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes
- Backed by: [Mosh project](https://talira.ai/orgs/mobile-shell.md)

Mosh (mobile shell) is a remote terminal that replaces interactive SSH sessions. It logs in over SSH with the same credentials, then starts mosh-server on the remote host and talks to it over UDP, so the session survives changing networks, a laptop going to sleep and dropped connections. It echoes your typing and line editing at once instead of waiting for the server, underlining predictions on a bad connection, and works in full-screen programs like vim and emacs. Both client and server run as an ordinary user with no daemon. It's UTF-8 only, and runs inside any terminal emulator or tmux. It installs from package managers on Linux, the BSDs, macOS and Solaris; JuiceSSH and Termux on Android, Blink Shell on iOS and Mosh for Chrome bring it to other devices.

## Links

- Website: https://mosh.org/
- GitHub: https://github.com/mobile-shell/mosh

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mosh>[^1]

## Problems it solves

- my SSH session freezes and drops every time my laptop switches Wi-Fi networks or wakes from sleep
- typing over SSH on a slow or high-latency connection feels laggy because every keystroke waits for the server
- keep a remote terminal session alive on a flaky mobile or train connection
- Control-C doesn't stop a runaway command over a laggy SSH connection
- a remote shell I can install without root on the server

## Features

- roams between networks and survives sleep and dropped connections
- local echo and line editing with predictions underlined on bad links
- logs in through SSH, then uses its own UDP protocol
- no root and no daemon: client and server run as an ordinary user
- works inside any terminal emulator, screen or tmux; UTF-8 only
- true-colour support since 1.4

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.27, adoption 0.83, momentum 0.57, community 0.76, backing 0.30, extensibility 0.20.

- latest release mosh-1.4.0 4.1 years ago
- 14.7k GitHub stars
- 78 contributors
- backed by Mosh project

Warnings:

- last commit 8 months ago

## Alternatives

- [Prompt 3](https://talira.ai/catalog/prompt-3-yy5vxcab.md): Panic's native SSH terminal for Mac, iPhone, iPad and Vision Pro, with Mosh and Eternal Terminal.

## Sources

[^1]: https://mosh.org/ (checked 24 Nov 2026)
[^2]: https://github.com/mobile-shell/mosh/blob/master/COPYING (checked 24 Nov 2026)
[^3]: https://github.com/mobile-shell/mosh/blob/master/src/frontend/mosh-client.cc (checked 24 Nov 2026)
