Sign in

Claude Desktop remote

Run Claude Code on your box from the Claude desktop app's Code tab over SSH, with nothing to install on the box first, and what to know about sign-in, ports and long tasks.

On this page7

Add your box

With Prized set up on this computer (Quickstart), open the Code tab:

  1. Open the environment selector under the prompt box, click New environment, and on the SSH tab open the Host list and select Add SSH connection…. In the earlier layout, with no environment selector, click Local, then SSH > Add SSH connection.

    The environment menu above the prompt box, open on SSH, with Add SSH connection in its submenu

  2. Type your box's name as the Name and the SSH host, and click Add SSH connection. Leave everything else empty: on macOS and Linux, Desktop runs your own ssh, so the box's entry in your SSH config supplies the rest.

    The Add SSH connection dialog with the box's name, fig, in both the Name and SSH host fields

  3. Pick a project folder on the box, and in the current layout click Create environment; synced projects are in ~/code.

    The prompt box with fig in place of Local, and Select folder beside it

What Desktop does on the box

  • Installs Claude Code itself. The first connect puts Claude Code and Desktop's helper in ~/.claude/remote on the box, about 1 GB, and Desktop signs it in with your Claude account (Anthropic's docs). The claude already on the box, and its sign-in, are separate.
  • Reads the box's own setup. Skills come from ~/.claude/skills on the box, not your computer.
  • Needs git and gh there for pull requests. Create PR pushes and runs gh pr create on the box: prized agents handoff claude --gh signs gh in there with your token and sets your git identity, and gh auth setup-git on the box lets git push over HTTPS with that token.

Long tasks and closing the laptop

A task keeps running on the box when Desktop disconnects, but with a Claude account Desktop renews the task's sign-in only while it is connected, so the sign-in can expire as soon as a few minutes later and the task then stops; Anthropic advises not to count on one running overnight. For work that must, run Claude Code in a session on the box: Keep Claude Code running with your laptop closed. On Claude Team and Enterprise, the app's cloud sessions can run on Prized instead: Run the Claude Code self-hosted runner on Prized.

A browser on the box

Desktop's in-app browser works only in local sessions (anthropics/claude-code#97729). Give Claude Code on the box a browser of its own, from this computer:

prized agents browser

It adds a browser server to Claude Code's user config on the box (claude mcp add --scope user). Start a new session, then ask Claude to open a page, click or take a screenshot. Give agents a browser has the options.

Ports

Desktop turns SSH port forwarding off for its connection, so a dev server on the box doesn't reach your computer through it. Use prized ports, which puts the box's ports on your localhost.

What the app can do

The app signs in with a key Prized adds for this computer, and that key works only through your Prized tunnel. It can run commands, transfer files, and open a terminal.

Remove a computer

Revoke the computer's API key, or remove the member from the workspace, and every box drops its key within seconds. A computer unused for 45 days loses its key until it connects again.