User connects Claude Code and Codex to iPhone via Tailscale, Termius, and tmux
A user set up remote access to Claude Code and Codex on their home Ubuntu PC from an iPhone using Tailscale, Termius, and tmux. The goal was to monitor AI tasks—like code editing or research—without needing to stay near the PC.
Key points
- User connects Claude Code/Codex to iPhone via Tailscale (private network), Termius (SSH client), and tmux (persistent terminal sessions)
- Tailscale secures the connection without exposing the home router’s SSH port to the public internet
- Security risks include lost iPhones, SSH key exposure, and unchecked AI approvals on small screens
Tailscale creates a secure private network between devices, Termius enables SSH access from the iPhone, and tmux keeps sessions active even after disconnecting. The setup avoids exposing the home router’s SSH port to the internet and allows the user to check progress or approve actions via the phone. However, the user notes security risks, such as losing the iPhone or misconfiguring SSH permissions, and warns against granting AI commands without careful review on a small screen. The process requires manual setup and troubleshooting, but it frees the user to leave the PC unattended while staying connected remotely.
The story so far
2 episodes →- User connects Claude Code and Codex to iPhone via Tailscale, Termius, and tmuxthis story

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Google Gemini 4 Neon: Key Features, Capabilities and AI Upgrades · 8 src
- Anthropic launches Claude Ship to review, fix and approve pull requests · 23 src
- Anthropic adds desktop app installation for Claude artifacts · 2 src
- Google files patent for AI-powered “My Channel” TV feature · 3 src
- Anthropic adds Code and Projects tabs to Claude mobile app · 4 src
Comments
via GitHub Discussions