macOS
brew install moshlocal Homebrew formula metadata
sudo port install moshMacPorts ports tree · net/mosh/Portfile · source: api.github.com
brew
Remote terminal application. Version 1.4.0 via Homebrew; verified 2026-06-20.
install
brew install moshlocal Homebrew formula metadata
sudo port install moshMacPorts ports tree · net/mosh/Portfile · source: api.github.com
sudo apk add moshAlpine Linux edge package indexes · mosh · source: dl-cdn.alpinelinux.org
sudo apt install moshDebian stable package indexes · mosh · source: deb.debian.org
sudo dnf install moshFedora Rawhide package metadata · mosh · source: dl.fedoraproject.org
nix profile install nixpkgs#moshnixpkgs package indexes · pkgs/by-name/mo/mosh/package.nix · source: api.github.com
sudo pacman -S moshArch Linux sync databases · mosh · source: geo.mirror.pkgbuild.com
sudo zypper install moshopenSUSE Tumbleweed package metadata · mosh · source: download.opensuse.org
scoop install main/mosh-clientScoop official bucket manifest trees · bucket/mosh-client.json · source: api.github.com
overview
Remote terminal application
history
Mosh, the mobile shell, originated at MIT CSAIL as research by Keith Winstein and Hari Balakrishnan and was presented at USENIX ATC 2012. The paper framed it as a remote terminal application for intermittent connectivity, roaming between networks, and speculative local echo over high-latency paths. Its core technical contribution was the State Synchronization Protocol, a UDP-based protocol for synchronizing client and server terminal state even when the client's IP address changes.
The 2012 evaluation reported real-world keystroke traces from six users and found that Mosh could immediately display the effects of 70 percent of keystrokes; over a commercial EV-DO network, median keystroke response latency was under 5 ms compared with 503 ms for SSH. The USENIX page also records more than 15,000 downloads in the first week after release, making Mosh one of the better-known examples of systems research packaged as a practical Unix tool.
In everyday use, mosh looks like ssh at the command line but uses SSH only to authenticate and start mosh-server on the remote host. After the bootstrap, the terminal session moves to UDP, usually on a high port in the 60000-61000 range. It is packaged broadly across Unix-like systems because its main audience is shell users who work from laptops, unstable Wi-Fi, cellular links, or roaming networks and want terminal sessions to survive connectivity changes.
security posture
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mosh | cli | global executable | |
mosh-client | cli | global executable | |
mosh-server | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mobile-shell/mosh
install metadata
| Package key | brew:mosh |
|---|---|
| Version | 1.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mosh |
| Homepage | https://mosh.org |
| Repository | https://github.com/mobile-shell/mosh |
| Upstream docs | https://github.com/mobile-shell/mosh#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz |
| Last updated | 2026-06-20T05:07:43Z |
| Pulse | updated |
| Dependencies | protobuf |
| Build dependencies | pkgconf, tmux |
| Uses from macOS | ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mosh |
| Version Scheme | 0 |
| Revision | 40 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mosh 1.4.0-1+b2
Mobile shell that supports roaming and intelligent local echo
sudo apt install moshmosh
nix profile install nixpkgs#moshmosh 1.4.0-1ubuntu3
Mobile shell that supports roaming and intelligent local echo
sudo apt install moshmosh 1.4.0-r18
Mobile shell surviving disconnects with local echo and line editing
sudo apk add moshmosh-bash-completion 1.4.0-r18
Bash completions for mosh
sudo apk add mosh-bash-completionmosh-client 1.4.0-r18
Mosh client
sudo apk add mosh-clientmosh-client-doc 1.4.0-r18
Mosh client (documentation)
sudo apk add mosh-client-docmosh-doc 1.4.0-r18
Mobile shell surviving disconnects with local echo and line editing (documentation)
sudo apk add mosh-docmosh-nftrules 1.4.0-r18
Mobile shell surviving disconnects with local echo and line editing (nftables ruleset)
sudo apk add mosh-nftrulesmosh-server 1.4.0-r18
Mosh server
sudo apk add mosh-servermosh-server-doc 1.4.0-r18
Mosh server (documentation)
sudo apk add mosh-server-docmosh 1.4.0-10.fc44
Mobile shell that supports roaming and intelligent local echo
sudo dnf install moshmosh 1.4.0-30
Mobile shell, surviving disconnects with local echo and line editing
sudo pacman -S moshmosh 1.4.0-5.17
The mobile shell
sudo zypper install moshmosh
sudo port install moshmain/mosh-client
scoop install main/mosh-clientsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.