Skip to content

Use Claude Code From Your Phone over SSH ​

Want to continue a Claude Code task from your phone while the repository stays on your development machine? This guide uses an SSH terminal to reach the CLI on a Linux or macOS host. NimoteCode supplies file navigation, editing, terminal access, and Git review around that session.

The Claude mobile app can follow Claude Code tasks, including sessions connected through Remote Control. Use the SSH workflow below when you also need to open project files, run other terminal commands, and inspect Git changes.

1. Prepare the host and account ​

Use an awake host with an SSH server, a repository you can access, and the project dependencies installed. Install and authenticate the agent on that host using its official instructions before relying on a phone connection. The agent’s account, usage limits, permissions, and credentials remain separate from NimoteCode.

For Claude Code, use the official installation method for your host. Example:

sh
curl -fsSL https://claude.ai/install.sh | bash
claude --version

Claude Code quickstart · Remote Control

2. Open the repository from your phone ​

Create an SSH workspace, verify the host-key fingerprint, and select the repository root. In Terminal, change to that same path and inspect existing work. The path below is an example, not a directory created by NimoteCode.

The shell examples below target a Linux or macOS SSH host. Replace the project path. Windows hosts need commands appropriate to PowerShell; see Windows SSH and SFTP.

sh
cd /path/to/project
pwd
git status --short --branch
Three Python unit tests passed in the SSH terminal on iPhone.
Three Python unit tests passed in the SSH terminal on iPhone. Captured from the local NimoteCode 2.4.1 (66) iOS simulator build.

3. Start a task in a host-side session ​

If tmux is installed on the Linux or macOS host, it can keep a terminal session on that host when the phone disconnects. Start or attach to a named session, then start the agent inside it. If an agent is already running after reattachment, continue there instead of launching a second instance.

sh
tmux new-session -A -s mobile-claude
claude

Start with a narrow request:

Find where this configuration value is read. Explain the relevant files and suggest one check. Do not modify files yet.

4. Reconnect or resume deliberately ​

To detach from tmux, press Ctrl+B, then D. After reconnecting by SSH, attach to the named session. If the agent has exited but saved a conversation, use its resume command from the same repository instead. A saved conversation and a still-running process are different things.

sh
tmux attach-session -t mobile-claude
sh
claude -r

tmux

5. Verify outside the agent conversation ​

Open the changed files in NimoteCode, save any editor changes, run the repository’s documented test or build, and read the Git diff. These commands help inspect a patch; they are not a substitute for the project’s checks.

sh
git diff --check
git diff --stat
git diff

Nimote Agent Confirm mode controls the built-in Agent workflow. It does not govern commands executed manually in SSH or replace an external CLI’s permission settings. Configure the CLI’s own permissions; do not disable its prompts merely to make mobile input easier.

Troubleshooting the failing layer ​

SymptomFirst check
SSH times outHost sleep, address, VPN, firewall, or network path
Agent command not foundInstall location and PATH in this SSH shell
Login failsAgent account and the vendor’s headless authentication guidance
Session vanishedtmux session, host reboot, process exit; then conversation resume
Agent cannot run a checkRepository path, host dependencies, and execution permissions

SSH · Git · AI / ACP

Frequently asked questions ​

Does NimoteCode include a Claude Code subscription? ​

No. Install and authenticate Claude Code separately. NimoteCode is the mobile workspace around the host session and does not include that agent’s account or usage.

Does closing the app keep the agent running? ​

Not by itself. A host-side session tool can help with SSH disconnections, but the host and process must remain running. Check their state when you reconnect.

Is this an official Claude Code mobile client? ​

No. This is an independent guide to an SSH workflow using NimoteCode. Vendor-supported mobile or remote interfaces are separate options.

Local and SSH editing and the basic terminal are included in the free plan. Advanced Git and other Pro features are listed in Free and Pro. Claude Code and Codex use their own accounts and billing; an SSH terminal session does not require a NimoteCode model-provider configuration.