Mosh on iOS: What It Is and Which Apps Support It
Mosh is a mobile shell that keeps your terminal session usable when your IP changes or your signal drops. On iOS you need an app that supports it. Four options are Blink Shell and Mosh Terminal. Echo and Moshi are the other two.
Mosh also needs setup on the server side. If you only want a shell on your own Mac from your iPhone, Macky skips that setup.
What Mosh does
Mosh stands for mobile shell. It supports roaming and intermittent connectivity, and it echoes your keystrokes locally so typing feels instant on a bad network. It is built on a UDP-based protocol that keeps working when the client's IP address changes.
That makes it a good fit for a phone that hops between Wi-Fi and cellular.
How a Mosh connection starts
Mosh logs in over SSH first. Then it starts mosh-server on the host and talks to it over UDP. A client command looks like this:
mosh chewbacca.norad.milEach session uses one UDP port in the 60000 to 61000 range. That range must be open on the server's firewall. On Ubuntu with ufw:
sudo ufw allow 60000:61000/udpOn a system with firewalld:
firewall-cmd --permanent --add-port=60000-61000/udp
firewall-cmd --reloadMosh doesn't authenticate users itself. SSH has to work before Mosh can.
iOS apps that support Mosh
| App | What the listing says |
|---|---|
| Blink Shell | Open source. Described as a mobile shell for iOS based on Mosh. |
| Mosh Terminal | Free. Described as an open source Mosh client for iOS. |
| Echo: SSH + Mosh Client | Requires iOS or iPadOS 26.2 or later. |
| Moshi: SSH & MOSH Terminal | Free with in-app purchases. Requires iOS or iPadOS 18.0 or later. |
| Latch | Mobile SSH, Mosh, and SFTP client. Lists iOS 15 or later. |
Check each App Store page for current pricing and requirements before you install.
Reach your Mac's shell without opening ports
Macky puts your Mac's terminal and screen on your iPhone. It opens real zsh or bash sessions on the Mac.

The connection is end-to-end encrypted WebRTC straight between your devices. You open no ports and set up no VPN. A master password protects the Mac, and each new iPhone must be approved on the Mac first.
If you run ssh to a server from that session, it uses the Mac's own SSH config and keys. The keys stay on the Mac. For the details, read WebRTC vs SSH for Remote Terminal Access.
Mosh limits to know
These limits come from third-party guides, not the official site:
- No scrollback.
- No X11 forwarding.
- No ssh-agent forwarding.
- No port forwarding.
- A UTF-8 locale is required. It breaks with
LANG=C.
When Mosh won't connect
If a Mosh session hangs or you see "Nothing received from the server on UDP port 60003", start with the firewall. A blocked UDP range is the most likely cause. We haven't confirmed that against the official FAQ answer.
Also confirm that plain SSH works from the same device. Mosh needs it to start.
FAQ
Is there a terminal app on iOS?
No. iOS has no built-in terminal, so you install an app. Several App Store apps offer SSH, and some add Mosh. See Terminal on iPhone for the options.
What is SSH and Mosh?
SSH is the standard way to log in to a remote machine and run commands. Mosh is a mobile shell that logs in over SSH first, then continues the session over UDP so it survives IP changes and flaky connections.
Can I use PuTTY on my iPad?
PuTTY isn't an iPad app, but you can install an SSH or Mosh client from the App Store. Four Mosh options are Blink Shell and Mosh Terminal. Echo and Moshi are two more. For a longer list, see iPad Terminal: Does iPadOS Have One?.
Can I SSH on iOS?
Yes. Install an SSH client from the App Store and connect to a machine that accepts SSH logins. Mosh clients start with SSH too. Compare options in Best iOS SSH Clients.
Related Guides & Comparisons
Try Macky
Connect to your Mac terminal from your iPhone.