You can steer a local coding agent from your phone through the CLI's own remote feature, Canopy Remote or SSH. All keep execution on your computer, but they show different evidence and trust different parties. Decide whether you need one provider's conversation, several CLIs plus the running project, or a full shell. Test the real host, session and final change before choosing.

Start with the host and the task
Say an agent is fixing a checkout form while you step out, with a local API, a worker, a draft PR and a second agent reviewing. Which process must stay alive: a Claude Code or Copilot CLI session, the Canopy host, or an SSH host with tmux? A sleeping host stops local work. A dropped phone connection doesn't mean the host stopped. Reconnect and check the session, prompt and output before sending anything.
| Route | Phone view and control | Account or access boundary | Host requirement |
|---|---|---|---|
| Claude Code Remote Control | Claude conversation, subagents, local Git diff, model and effort controls in supported versions | Eligible claude.ai login and org settings; transcript stored by Anthropic while connected | Local `claude` process and machine keep running |
| GitHub Copilot CLI Remote | Copilot session, prompts, approvals, mode changes and cancel from GitHub web/mobile | Same signed-in GitHub account; org policy can govern it; session events sent to GitHub | Interactive Copilot CLI session on an online machine |
| Canopy Remote | Terminals across installed CLIs, agent and service state, files, changes, PRs and usage | PIN-protected host over LAN or optional tunnel; anyone with the endpoint and PIN can use permitted controls | Canopy desktop host keeps running |
| SSH with tmux | Remote shell and attached terminals; other evidence needs your own commands | SSH identity, network access and terminal permissions you set up | SSH host and tmux server keep running |
Use Claude's own route when the conversation is the job
Claude Code Remote Control connects the Claude app or claude.ai/code to a local Claude process, with synced conversation, subagents, Git diff, model choice and a multi-session server mode. The server can use one directory or separate worktrees, so check before assuming isolation. It needs an eligible claude.ai plan, not an API key, and some enterprise policies disable it.
Execution stays on the host; Anthropic stores the transcript. It won't show other CLIs or your saved servers.
- Run `/remote-control` in a Claude session, then find it on your phone.
- Check the mode, the worktree and whether the host survived a disconnect.
- Compare the remote diff with the PR head and checks before merging.
Use Copilot CLI's remote for its own session
GitHub lets you control an interactive Copilot CLI session from GitHub.com or GitHub Mobile: answer questions, approve permissions and plans, send prompts, switch modes and stop the operation. Slash commands aren't available there yet. Only the signed-in account can control it. Events go to GitHub; commands and edits run locally. Org seats need a policy that allows it. It fits when one Copilot conversation is the work.
- Use an interactive session on an online machine; scripted `--prompt` sessions are excluded.
- After reconnecting, compare remote events with local Git and PR evidence.
- A remote approval isn't a test of the app.
Use Canopy Remote when the project has many moving parts
Canopy Remote is an optional PIN-protected browser view of terminals, agent launch and resume, files, changes, PRs, servers, tools and usage, over LAN or a tunnel you choose. Use it to see which agent is waiting, whether the stack is up and what changed where.
Each CLI keeps its own account and conversation. Remote is off by default; anyone who reaches the endpoint with the PIN can drive it, so rotate access afterwards. To keep agents running with your computer off, use Canopy's cloud workspaces (preview).
- Before leaving, note the project, checkout, session, services and expected stop point.
- On the phone, check terminal state, logs, changed files and PR before a second instruction.
- If the host app exits, use the CLI's own resume path; closing the phone tab only ends a view.
Use SSH and tmux when you need the shell itself
SSH gives you an encrypted login; tmux keeps sessions alive after you disconnect. It's the most flexible route if you already manage network access and authentication. But you assemble the project view yourself: worktree, server URL, PR, account and test result. Run the agent inside tmux and check it after reattaching. Don't open a broad shell when a narrower surface covers what you need.
- Name the tmux session and note its directory and branch.
- Run `git status --short --branch` after reattaching; a pane can outlive its task.
- Use the host's normal access controls.
Run one phone trial before relying on it
On a disposable project, assign one small feature with a pass and fail check. Start everything at your desk and note the host, session, branch and prompt. From the phone, find the task, answer one low-risk question, view the diff, and find the running app and PR.
Drop the connection, reconnect, and check your last instruction arrived before resending. Back at the desk, confirm behavior, diff, tests and PR. Pick the narrowest route that still lets you decide correctly.
| Checkpoint | Evidence to save |
|---|---|
| Identity | Host, project, CLI, session, checkout, branch |
| Continuity | Last event before disconnect, first event after reconnect |
| Result | Valid and error behavior, latest diff, test output |
| Review | PR head, comments, checks, decision owner |
| Access | How Remote or SSH was turned on and off |
Copyable resources
Keep PINs, tokens, SSH keys and private transcripts out of shared cards.
Route and installed version: [Claude / Copilot / Canopy / SSH+tmux]
Host online and process running: [ ]
Project, branch/worktree, CLI, session ID: [ ]
Last prompt and expected stop point: [ ]
Phone can see: conversation [ ]; diff [ ]; services [ ]; PR [ ]
Question/approval answered and result: [ ]
After disconnect: same host/session [ ]; instruction delivered [ ]; current process [ ]
Valid and failure behavior, tests, final diff, PR head/checks: [ ]
Access turned off or credential rotated, host state checked: [ ]
Missing evidence and next owner: [ ]Frequently asked questions
Does Claude Code Remote Control need Canopy Remote?
No. Claude's Remote Control connects its local session to Claude web or mobile. Canopy Remote is a separate, optional project view that also covers other CLIs and local services.
Can Claude Code Remote Control handle multiple sessions?
Yes. Claude's docs describe a server mode with concurrent sessions and a worktree option. Check the directory mode before editing in parallel.
Can Copilot CLI be steered from GitHub Mobile while code runs locally?
Yes, for an eligible interactive session on an online host. Account and org policy decide access; tools and file edits stay on your machine.
Does any phone route keep the agent working while the host is off?
No. These are local-host routes, so the host and its process must run. Cloud agents, including Canopy's cloud workspaces (preview), run elsewhere and should be compared separately.
Which route works across Claude Code and Codex sessions in one project?
Canopy Remote shows supported CLI terminals and project surfaces together. SSH reaches any CLI you run in the host shell. Claude's and Copilot's remotes each steer their own CLI.
Sources and further reading
- Claude Code Remote Control: modes, worktrees, accounts, data flow
- GitHub Copilot CLI remote control and policy
- Canopy README: Remote and access boundaries
- Canopy architecture: Remote host and PTY boundary
- OpenSSH remote login manual
- tmux project wiki
- Public question comparing SSH and Claude Code Remote Control