TWITTER_ARTICLE

odd_joel outlines a phone-to-Mac remote workflow for Claude Code using Tailscale…

Brief

odd_joel presents a lightweight remote-control setup for monitoring and steering Claude Code running on a Mac from an iPhone, avoiding VPS hosting, port forwarding, and third-party relay servers. The basic method relies on macOS Remote Login plus Tailscale for private peer-to-peer connectivity and Moshi as the iPhone terminal client, with the author estimating a 60-second setup for new users and as little as 15 seconds if SSH is already configured. The post emphasizes that the minimal setup is enough to check output and send new instructions, but recommends mosh and tmux for real-world reliability: mosh tolerates changing networks and packet loss through UDP-based state synchronization, while tmux preserves long-running sessions and scrollback even after disconnects. Security claims center on Tailscale-authenticated SSH, no public SSH exposure, and Moshi’s Secure Enclave key storage. The guide also covers notification hooks, sleep prevention settings, and common troubleshooting steps for session recovery and mosh firewall issues.

Why it matters

odd_joel outlines a phone-to-Mac remote workflow for Claude Code using Tailscale and the iOS terminal app Moshi, claiming the core setup takes under 60 seconds: enable macOS Remote Login, install Tailscale on both devices, and connect from iPhone with the Mac’s Tailscale IP.

Key details

  • The guide positions Tailscale as the security layer: it creates a private network without port forwarding or exposing SSH to the public internet, is free for personal use for up to 100 devices, and can manage SSH authentication via Tailscale identity instead of passwords.
  • Moshi, currently in TestFlight beta, is presented as the mobile client for SSH/mosh access; it stores SSH keys in the iPhone Secure Enclave behind Face ID and also supports push notifications via a webhook token that can be added to a project’s CLAUDE.md for iPhone and Apple Watch alerts.
  • For production use, the article recommends adding both mosh and tmux: mosh maintains terminal responsiveness across Wi‑Fi/cellular changes and sleep, while tmux keeps the Claude session alive after disconnects and adds scrollback; the cited mosh paper reports response times improving from 16.8 seconds to 0.33 seconds at 29% packet loss.
  • Operational details include enabling 'Prevent automatic sleeping when the display is off' and 'Wake for network access' on macOS for always-on access, using tmux attach -t claude or tmux new -s claude to recover sessions, and ensuring firewall access for UDP ports 60000-61000 if mosh drops immediately.
Cleaned source text

title: @odd_joel: Already have a way to access Claude from your phone? Ask yourself: does it cost ...

author: odd_joel

content_type: twitter_article

published: 2026-01-21T10:21:52+00:00

source_url: https://x.com/odd_joel/status/2013919970414272669

word_count: 1151

Already have a way to access Claude from your phone? Ask yourself: does it cost money? Does it depen

Already have a way to access Claude from your phone? Ask yourself: does it cost money? Does it depend on a third-party server? If yes, keep reading.

TL;DR : Tailscale + Moshi = control your Mac's AI agent from your iPhone. Core setup takes under 60 seconds. No port forwarding, no complex networking, no VPS fees. Peer-to-peer, no middleman. (If you can already SSH to your Mac and know how to connect to it, you only need Moshi—15 seconds.)

Why This Setup Exists

You kick off a task with Claude Code, then step away. Grab coffee. Take a walk. Commute home.

But you want to stay in the loop. Check progress. Steer the direction. Give feedback before it goes too far down the wrong path.

The solution: keep the agent running on your Mac, check in and course-correct from your phone

This guide walks through the setup step by step—optimized for simplicity without sacrificing security.

What You'll Need

A Mac

— Any Mac that can run Claude Code

An iPhone

— For remote access via Moshi

Homebrew

— macOS package manager (

install guide

60 seconds

— One command, one toggle, one app

Step 1: Enable Remote Login (10 seconds)

Open

System Settings

Go to

General → Sharing

Enable

Remote Login

This starts the SSH server that Moshi connects to.

Step 2: Set Up Tailscale (35 seconds)

Tailscale creates a secure private network between your devices. No port forwarding, no exposing your Mac to the internet.

On your Mac:

Get your Tailscale IP (you'll need this):

On your iPhone:

Install

Tailscale

from the App Store

Sign in with the same account

Done—your devices can now reach each other securely.

Tailscale is free for personal use (up to 100 devices).

Step 3: Set Up Moshi on Your iPhone (15 seconds)

Moshi is a native iOS terminal built on mosh, designed specifically for workflows like this.

Moshi via TestFlight

(currently in beta)

to add a server

Enter your Mac's Tailscale IP as the host

Enter your Mac username

Authenticate with SSH key (Moshi stores keys in the Secure Enclave, protected by Face ID)

Connect. You're in.

Using It: The Daily Workflow

Start Claude on your Mac

Connect from your iPhone

Open Moshi → tap your Mac → you're in.

That's it

Check progress, read output, give new instructions—all from your phone.

Note : With this minimal setup, if you close Moshi or your connection drops, you'll need to restart Claude. Want sessions that survive disconnects? See the optional tmux section below.

Push Notifications: Stay in the Loop

Configure Claude to ping your phone with progress updates.

Enable notifications in Moshi

Open Moshi → Settings → Notifications

Enable notifications

Copy your webhook token

Tell Claude how to notify you

Add this to your project's CLAUDE.md:

Replace YOUR_TOKEN with your Moshi webhook token.

Now you get updates on your iPhone and Apple Watch. Tap to jump straight into your session.

Optional: Add mosh + tmux for Persistent Sessions

We moved this to optional so we could claim "60-second setup." But honestly, this is how you'll want to run it.

The basic setup works, but has a limitation: close Moshi or lose your connection, and Claude stops. For long-running sessions, you want persistence.

Install mosh and tmux:

Tool What it does mosh Keeps your connection alive across network changes, sleep, WiFi → cellular tmux Keeps your session alive even when disconnected

Why mosh?

SSH dies when your network changes. Mosh uses UDP with state synchronization—switch networks, let your phone sleep, walk out of WiFi range, and you're still connected.

According to the mosh research paper , on networks with 29% packet loss, mosh reduced response times from 16.8 seconds to 0.33 seconds. That's a 50x improvement.

Why tmux?

Mosh keeps your connection alive. tmux keeps your session alive. Different things.

Close Moshi, your Mac restarts, whatever—Claude keeps running in tmux. Reconnect later and pick up where you left off.