← All posts

Claude Code from your phone: four ways to do it, and what each costs

Remote desktop, SSH, tmux with a web terminal, or connecting the tab you already have — I've been down all four roads. Here's where each one gets stuck.

A medium-sized Claude Code task runs for ten or fifteen minutes. During those minutes you can’t stay planted at your desk, and halfway through it stops to ask whether to continue. Whether your phone can reach that conversation decides whether you get to go for a coffee or have to babysit the screen.

I’ve tried all four approaches below. I’ll judge them on two things: how quickly you connect, and what it costs you.

The short version

If what you need is the session already running in front of you — not a fresh terminal on your phone — the first three will disappoint. They solve “can I connect”, not “is it the same session”.

The four approaches

1. Remote desktop

VNC, Screens, Jump Desktop and friends. The whole picture moves across, so in theory you can see everything.

The trouble is the interaction: you’re poking a finger at an interface designed for a mouse. Zooming, dragging, right-click menus — every step fights you. And it ships whole-screen pixels, which on subway-grade bandwidth is basically unusable.

2. SSH or mosh back to the Mac

This is much classier. Type ssh mac.local in a terminal, or use mosh if you want to survive a dropped connection:

# A dropped connection reconnects without redialling, but the session is new
mosh --ssh="ssh -p 22" longwu@192.168.1.23

But read the comment again: what you get is a new shell. The tab that’s running Claude Code has nothing to do with this new shell. All you can do is run claude --continue inside it and watch it re-read the context you had a second ago.

3. tmux plus a web terminal

tmux keeps a session alive, and ttyd or wetty turn a terminal into a web page. This one does work, and it’s the approach I used the longest.

The cost: you have to start your work inside tmux. Everything has to live in a tmux session, and the moment a tab is opened outside tmux it can never reach your phone. On top of that, the phone keyboard is missing Esc, Tab and Ctrl, which web terminals generally don’t help you with.

4. Connect the tab you already have

This is what TermToGo does: install a shell hook, and new tabs appear on your phone automatically. Tap one and it’s the same shell — same process, same output, same scrollback.

It doesn’t make you switch terminal apps, and it doesn’t make you enter tmux beforehand. The cost is that tabs opened before you installed it can’t connect: macOS doesn’t let one app take over another app’s terminal after the fact.

Side by side

Time to connect Same session? Typing on the phone
Remote desktop a minute yes, but only as pixels virtual mouse, awkward
SSH / mosh ten seconds no, it’s a new shell missing Esc, Tab, Ctrl
tmux + web needs setting up in advance yes, but only inside tmux depends on the implementation
TermToGo one scan yes there’s a key bar

So where’s the real difference

Not in “can I connect”, but in this sentence:

Is the command you typed on the Mac the same one you’re reading on the phone?

If it is, the phone is a remote you can pick up and put down at any moment. If it isn’t, then every time you switch to your phone you’re starting a new conversation.

That’s why I eventually stopped using tmux — not because tmux is bad, but because I keep opening tabs outside it, and I don’t want to keep track of which tab can travel and which can’t.