Reach agents on a server from your phone

A server is a good place for coding agents: it is always on, so they keep working when you close your laptop. With One, you see and answer them on your iPhone, without SSH.

Kamil Kyzo · Maker of One

Checked 4 Dec 2026 · 4 min read

ClaudeCodex
Your server
The connector dials out. No open port
One's relay
Passes on encrypted data. It cannot read it
Your iPhone
Sees and answers the agents
Your Mac
Sees them too
  • Good: No SSH on the phone
  • Good: No open port, no VPN
  • Good: Works when your Mac is off
Switch your Mac off. The phone still reaches the server.

In short

Install the One connector on the server with one command from One. The server opens no port, and your iPhone reaches its agents even when your Mac is off.
Try One, freeMac and iPhone. No card to start.

After this guide, you can

  • Connect a Linux server to One with one command
  • Answer its agents from your iPhone, without SSH
  • Know when an SSH app is the better tool
On this page (6 sections)
  1. How it works
  2. What you need
  3. Add the server
  4. Use the agents
  5. Compared with SSH from your phone
  6. More details

How it works

  • A small program, the One connector, runs on the server.
  • The connector starts the connection. Thus the server does not need an open port, and you do not need a VPN.
  • All data from the server is end-to-end encrypted for your devices.
  • The agents on the server do not need your Mac. Your phone can reach them when your Mac is off.

What you need

  • A Linux server, x64 or arm64, for example a VPS. You can connect up to 8.
  • Claude Code or Codex, installed and signed in on the server.
  • One on your Mac. For the phone, the free iPhone app.

Add the server

  1. On your Mac, open One and go to Remote access, then A remote machine. On the phone, go to Settings, then Your devices.
  2. Copy the command that One shows. It looks like this:
    curl -fsSL <SERVER>/i/<INVITE> | ONE_PAIR=<FINGERPRINT>:<SECRET> sh
  3. Paste the command into a terminal on the server. Use the same user as your agents, and do not use sudo.
  4. Wait a few seconds. One tells you when the server is connected, and its agents show in your list.

On your Mac, you can also press Install over SSH. Or ask Claude Code or Codex on the server to do it: copy the prompt from One into the agent.

Use the agents

  • See what each agent does.
  • Answer their questions with a tap.
  • Send a message, a photo or a file.
  • Stop an agent, or start a new one in a folder on the server.
  • Get a notification when an agent asks something or finishes.

The agents run in herdr on the server. The command installs herdr if it is not there. Thus the agents continue to run when nobody is connected.

Compared with SSH from your phone

OneAn SSH app
What you seeA list of agents and their questionsA terminal. You attach to the right session and read the screen
The serverOpens no portNeeds an open SSH port, or a VPN such as Tailscale
Who can send commandsOnly devices that you approvedAnyone with a key that the server accepts

If you want a full terminal on your phone, an SSH app is the better tool. See One and Moshi.

More details

For the manual steps, the commands to stop or remove the connector, and troubleshooting, read Remote machines in the docs. For how the encryption works, read Security.

All guides

Talk to your agents without switching context

One shows all your coding agents in one place, on your Mac and your iPhone. Free to start.