원클릭으로
networking-mosh-resilient-ssh
Connecting over unreliable networks (mobile, WiFi)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Connecting over unreliable networks (mobile, WiFi)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
Comprehensive guide to GNU Debugger (GDB) for debugging C/C++/Rust programs. Covers breakpoints, stack traces, variable inspection, TUI mode, .gdbinit customization, Python scripting, remote debugging, and core file analysis.
Paxos consensus algorithm including Basic Paxos, Multi-Paxos, roles, phases, and practical implementations
Gossip protocols for disseminating information, failure detection, and eventual consistency in large-scale distributed systems
| name | networking-mosh-resilient-ssh |
| description | Connecting over unreliable networks (mobile, WiFi) |
Use this skill when:
# macOS
brew install mosh
# Ubuntu/Debian
sudo apt install mosh
# Server must also have mosh installed
# Instead of SSH
ssh user@server
# Use Mosh
mosh user@server
# With specific port
mosh --ssh="ssh -p 2222" user@server
# With different mosh port range
mosh -p 60001 user@server
# Start mosh session
mosh user@server
# Network disconnects (sleep laptop, switch WiFi)
# Session continues when network returns
# Compare to SSH:
# ssh user@server
# [network disconnect]
# -> Connection lost, need to reconnect
# Start mosh on WiFi
mosh user@server
# Switch to cellular
# Session continues seamlessly
# SSH would require reconnect
# Open UDP ports (mosh uses 60000-61000 by default)
sudo ufw allow 60000:61000/udp
# Or specific range
sudo ufw allow 60001/udp
# Server: restrict port range
export MOSH_SERVER_PORT_RANGE=60001-60010
# Client: use restricted range
mosh -p 60001 user@server
# Use mosh over Tailscale
mosh user@100.64.0.5
# Benefits:
# - Encrypted by Tailscale
# - No need to open ports publicly
# - Resilient connection
# ~/.ssh/config
Host myserver
HostName server.example.com
User myuser
Port 2222
# Now use
mosh myserver
# Ultimate resilient setup
mosh user@server -- tmux attach
# Benefits:
# - Mosh handles network disruption
# - Tmux persists session on server
# - Can disconnect mosh and reconnect to same tmux
# ❌ Can't use scp/rsync over mosh
# Mosh is terminal-only
# ✅ Use SSH for file transfers
scp file.txt user@server:
# Or rsync
rsync -avz --progress file.txt user@server: