CommonRig docsOpen the app

Docs / Get started / Connect a machine

Connect a machine

One command and one approval sign a machine in for everything you tick: no localhost page, nothing to paste, and the same over SSH.

How it goes

YouYour machineCommonRigRuns connecton the machine, in aterminal or over SSHPrints a codeand the address ofthe device pageTypes the codeon any browser wherethey are signed inDevice pagenames the machine,where it asked fro...Ticks and allowsPicks it upby itself, and saveseach sign-in where...YouYour machineCommonRigRuns connecton the machine, in aterminal or over SSHPrints a codeand the address ofthe device pageTypes the codeon any browser wherethey are signed inDevice pagenames the machine,where it asked fro...Ticks and allowsPicks it upby itself, and saveseach sign-in where...
Signing a machine in with a code
In Claude Code, with the plugin: capture, and anything else you tick on the page
/commonrig:connect
Or from a terminal, offering lanes, programs raising work and a runner ticked too
node <plugin folder>/helper/helper.mjs connect https://app.commonrig.com/mcp --all
  • The machine prints something like BCDF-GHJK and the device page's address. Open the page on your laptop or phone, type the code, and you see the machine's name, the address and place it asked from, and each thing it asks for.
  • Tick what it gets: capture, an agent connection for headless lanes, programs raising work. Each says what it does, why you would want it and what it can never do. A quick pick at the top sets which connections are ticked: every one, capture only, or what the machine asked for. Each is its own connection with its own scope, never mixed on one key.
  • A runner sits under Advanced, folded unless it is ticked: pick which work it picks up (anything delegated to your runners, one project, or only work that names this machine) and what happens when work arrives (show you the command to run, or run Claude Code, Codex, OpenCode or your own command by itself).
  • Allow, and the terminal finishes by itself in a few seconds. Each sign-in shows under Agents, Connections, named after the machine, and is revoked in one click.
  • A code works for ten minutes, once. The first person to type it holds it, so nobody else can approve it.

Only approve a code you started

A code someone sends you is their machine asking for your access. The device page says so first, and shows where the code was started next to where you are now. Deny anything you did not just start yourself.

  • What a machine gets back is only half a sign-in: it finishes with a secret that never left that machine, so a code read off a screen is no use to anyone else.
  • Wrong codes are counted, so guessing someone else's code is slow, and a code expires long before it could be guessed.
  • A viewer's seat gets no machine sign-ins, and each kind keeps the same limits as signing it in on its own.

Each sign-in on its own

Sign-inCommandWhere it is kept
Capture/commonrig:connectThe plugin's own data folder
Laneshelper.mjs connect --lanes~/.commonrig-lane
Programs raising work/commonrig:raise connect~/.commonrig-intake
A runner/commonrig:runner connect~/.commonrig-runner
The guard/commonrig-guard:connectThe guard's own data folder

Every one of these uses the same code and page, with its own kind ticked. The older browser sign-in that comes back to a page on this machine is still there with --loopback.

Checked against the code at e28af69c. Site built from f04f4af1.