Mosh¶
Mosh (mobile shell) is a remote terminal application that supports intermittent connectivity and roaming.
Package Information¶
| Property | Value |
|---|---|
| Package Name | mosh |
| Upstream | mosh.org |
| License | GPL-3.0 |
| Default Port | UDP 60000-61000 |
Features¶
- Stays connected through network changes
- Handles high-latency connections
- Provides local echo for responsive typing
- Survives sleep/wake on laptops
- No root required
Installation¶
- Install Mosh from Package Center
- Open UDP ports 60000-61000 on firewall
- Install Mosh client on your computer
Usage¶
Connect from Client¶
# Basic connection
mosh user@your-nas
# Specify server binary path
mosh --server=/var/packages/mosh/target/bin/mosh-server user@your-nas
# Use specific port
mosh -p 60001 user@your-nas
Port Configuration¶
Mosh uses UDP ports 60000-61000 by default. To restrict:
Client Installation¶
macOS:
Linux:
Windows: Use Windows Terminal with WSL, or Chrome extension "Mosh for Chrome".
Troubleshooting¶
Connection Timeout¶
- Verify UDP ports are open:
60000-61000 - Check firewall allows UDP traffic
- Test SSH works first:
ssh user@your-nas
Server Binary Not Found¶
Specify the server path:
Locale Errors¶
Set locale on server and client:
Related Packages¶
- SynoCli Network Tools - Contains SSH tools