DopeLab
INKby DopeLab
Back
Control AI from Your Phone — A Remote Dev Setup That Actually Works
Developer ToolsMarch 1, 20262 min read

Control AI from Your Phone — A Remote Dev Setup That Actually Works

How to set up Tailscale + Termius + tmux to run Claude Code AI from anywhere using just your iPhone. No laptop required.

Tor Supakit

Tor Supakit

AI × Digital Marketing Agency

The Problem

I use Claude Code (an AI that works through the terminal) every day — writing code, analyzing data, creating content. But the problem is I have to be sitting at my Mac.

Sometimes I'm lying in bed and want to tell the AI to do something... but I'd have to get up and open the laptop. That's not practical.

The Solution: 3 Tools That Changed Everything

1. Tailscale — A Private VPN with Zero Config

Tailscale creates a private network connecting all your devices, anywhere in the world. No port forwarding, no static IP needed.

iPhone → Tailscale → Mac Mini (at home)

Just install Tailscale on both iPhone and Mac, log in with the same account — done. They can see each other.

2. Termius — An SSH Client on iPhone That Actually Works

Termius is the best SSH app on iOS I've ever used — clean UI, key authentication support, and snippets for frequently used commands.

I set up the connection once:

  • Host: Mac's Tailscale hostname
  • User: Mac username
  • Key: Pre-generated SSH key

After that, just open Termius → tap once → I'm in my Mac's terminal.

3. tmux — Sessions That Never Die

This is the game changer. Without tmux, closing the terminal kills everything. But tmux means:

  • Sessions persist even after closing Termius
  • Reconnect instantly with tmux attach
  • Split screens to monitor multiple processes
# Create a new session
tmux new -s work
 
# Detach (session keeps running in background)
Ctrl+B then D
 
# Reattach to existing session
tmux attach -t work

My Actual Workflow

1. 📱 Open Termius on iPhone
2. 🔗 Tap connection → SSH into Mac via Tailscale
3. 💻 tmux attach → Jump back into the running session
4. 🤖 Tell Claude Code what to do
5. 📱 Lock phone, go do something else
6. 🔄 Come back anytime → tmux attach → check results

Real Results

I now command AI from everywhere — in bed, at a coffee shop, even in the car. Just send the command and lock my phone while AI does the work.

Cost

ToolPrice
TailscaleFree (Personal plan)
TermiusFree (Basic) or Premium for sync
tmuxFree (comes with macOS)

Total: $0/month — ready to use immediately.

Tips for Getting Started

  1. Set a memorable Tailscale hostname — like my-mac instead of an IP address
  2. Use SSH keys, not passwords — more secure and no typing every time
  3. Install tmux resurrect plugin — save/restore session layouts
  4. Create a shell alias — like alias ai="tmux attach -t claude || tmux new -s claude"

Who Should Try This?

If you regularly use the terminal — whether you're a developer, data analyst, or anyone using AI tools via CLI — this setup will fundamentally change how you work.

You don't have to be chained to one screen anymore.

remote-devtailscaletmuxiphoneclaude-code
Share this article

Related Articles

Karpathy Proved It — AI Agents Without a Validation Harness Will Fail Every TimeAI Workflow
March 22, 2026

Karpathy Proved It — AI Agents Without a Validation Harness Will Fail Every Time

Karpathy's March of Nines math is brutal: 90% accuracy sounds great until you chain 10 steps and get 35% success. Here's how we built a 32-check Validation Harness to fix it.

4 min
Claude Channels + Telegram — Control Claude Code From Your Phone, No SSH RequiredAI Workflow
March 21, 2026

Claude Channels + Telegram — Control Claude Code From Your Phone, No SSH Required

Anthropic released Claude Channels — an MCP plugin that connects Telegram to your Claude Code session. Deploy, fix code, transcribe voice messages, view images — all from your phone. No Tailscale, no tmux.

4 min
I Built an Entire AI Marketing Team — 11 Agents, 6 Real Clients, 6 WeeksAI Workflow
March 20, 2026

I Built an Entire AI Marketing Team — 11 Agents, 6 Real Clients, 6 Weeks

Agencies charge $5,000-$10,000/month for Website Audit + Copy Analysis + Competitor Research. I built an AI Marketing Team of 11 agents that works with real clients daily — using Claude Code.

3 min