# User connects Claude Code and Codex to iPhone via Tailscale, Termius, and tmux

Digest AI · Agents & Tools · published 2026-11-09T06:32:00Z

Canonical: https://digestai.news/story/user-connects-claude-code-and-codex-to-iphone-via-tailscale-termius-an

## Summary

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. 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.

## 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

## Why it matters

This setup demonstrates how developers can remotely monitor AI assistants without constant PC access, but highlights security trade-offs. It’s niche but could inspire similar workflows for developers managing cloud-based AI tools.

## Sources

1. [Operating Claude Code and Codex from an iPhone with Tailscale, Termius, and tmux](https://note.com/mikiohat/n/nd8bd768f24c5?hl=en) (note.com, 2026-11-09)

Part of the developing story: [Cross-Device AI Coding Workflow Evolution](https://digestai.news/thread/user-shares-claude-code-workflow-on-mac-mini-with-manual-approval-limits) (2 stories)

## Cite

Digest AI, "User connects Claude Code and Codex to iPhone via Tailscale, Termius, and tmux", 9 November 2026, https://digestai.news/story/user-connects-claude-code-and-codex-to-iphone-via-tailscale-termius-an

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/user-connects-claude-code-and-codex-to-iphone-via-tailscale-termius-an.json
