Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terminals Are Sexy
  3. Mosh

Mosh

GPL-3.0C++mosh-1.4.0

A remote terminal application that supports intermittent connectivity, roaming, and predictive local echo for better mobile and high-latency usage.

Visit WebsiteGitHubGitHub
14.6k stars873 forks0 contributors

What is Mosh?

Mosh (Mobile Shell) is a remote terminal application that replaces SSH for interactive sessions, offering persistent connections through network changes and predictive local echo for responsive use on high-latency or unstable networks. It solves the problem of dropped sessions and laggy feedback when using traditional SSH on mobile or unreliable connections.

Target Audience

System administrators, developers, and power users who need reliable remote terminal access from laptops, tablets, or phones, especially while traveling or on cellular networks.

Value Proposition

Developers choose Mosh over SSH for its ability to maintain sessions across IP changes, provide instant local feedback on keystrokes, and work seamlessly on lossy or high-latency links without requiring manual reconnection.

Overview

Mobile Shell

Use Cases

Best For

  • Working remotely over cellular data or unreliable Wi-Fi
  • Maintaining terminal sessions while switching between networks
  • Using full-screen applications like emacs or vi on high-latency connections
  • System administration from mobile devices
  • Avoiding SSH session timeouts during travel
  • Interactive development on remote servers with spotty connectivity

Not Ideal For

  • Environments requiring X11 forwarding or SSH port tunneling for remote GUI applications or secure tunnels
  • Networks with strict firewall rules that block UDP traffic, as Mosh relies on UDP datagrams
  • Automated scripts or batch jobs that rely on non-interactive SSH features, since Mosh is optimized for interactive sessions only

Pros & Cons

Pros

Seamless Roaming Support

Maintains terminal sessions alive during IP address changes or network switches, as highlighted in the README for use while roaming between Wi-Fi and cellular data.

Predictive Local Echo

Echoes keystrokes immediately based on server prediction, making it responsive on high-latency links like cellular data, and works with full-screen apps like emacs and vi.

Adaptive to Lossy Networks

Functions reliably even with significant packet loss and adjusts frame rate to prevent command lag, ensuring Control-C responsiveness within one round-trip time.

Better Unicode Handling

Improves UTF-8 support compared to standard SSH and terminals, reducing edge case issues in international or complex text environments.

Cons

Missing SSH Features

Does not support X forwarding or port forwarding, as stated in the README, limiting its utility for graphical applications or secure tunnel setups.

UDP Firewall Challenges

Requires UDP ports to be open between 60000-61000 by default, which can be blocked in corporate or restricted networks, hindering deployment without firewall adjustments.

Perl Dependency

Client installation requires Perl, as noted in the distributor advice, adding complexity for minimal systems or environments where Perl is not installed or desired.

Frequently Asked Questions

Quick Stats

Stars14,582
Forks873
Contributors0
Open Issues171
Last commit7 months ago
CreatedSince 2011

Tags

#terminal-emulator

Built With

O
OpenSSL
U
UDP
P
Perl
n
ncurses
C
C++
P
Protobuf

Links & Resources

Website

Included in

Terminals Are Sexy12.9k
Auto-fetched 1 day ago

Related Projects

TerminusTerminus

A terminal for a more modern age

Stars75,074
Forks4,300
Last commit4 days ago
AlacrittyAlacritty

A cross-platform, OpenGL terminal emulator.

Stars66,015
Forks3,661
Last commit7 days ago
HyperHyper

A terminal built on web technologies

Stars44,746
Forks3,577
Last commit2 months ago
CmderCmder

Lovely console emulator package for Windows

Stars27,006
Forks2,074
Last commit4 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub