Setup and safety

Use CmdBrief on a rented cloud machine

Run a build machine or an agent server on a rented Linux machine that stops and resumes, with Tailscale so a new address doesn’t matter.

  • Updated December 1, 2026
  • 4 min read
  • 3 primary sources
  • 3 steps
  • You act in steps 1, 2 and 3

What you get

What you get

Your Mac

  • Finds it by its tailnet name
  • Reconnects on its own after a resume

Rented machine

  • A build machine or an agent server
  • Stops and resumes
  • Keeps your home folder
Tailscale, so a new public address doesn’t matter

CmdBrief does not host compute: you bring the machine. A rented Linux machine can be either of these:

Build machineAgent server
Agents run onYour MacThe rented machine
Agent sign-ins thereNoneYes, on its disk
With your Mac closedNothing runsWork can go on
When it stopsBuilds run on the MacAgents pause until it resumes
GuideBuild machineAgent server

Before you start

Every provider handles stops differently. Find these in its docs, and treat anything they don’t say as unknown until you have tried it:

  • What starts the auto-stop: idle time, or a fixed time from the start (some count from the start, whatever you are doing).
  • What a stop keeps: the disk, your home folder, systemd services, /var/lib/tailscale.
  • Whether a stop tells running programs, or just ends them.
  • Whether a resume is something you start, and whether it brings a new IP address and host key.
  • Whether Tailscale can run there (it needs a TUN device, or its userspace mode).

The machine needs Linux on x86_64 with glibc 2.35 or newer and systemd, as in the other two guides.

Join Tailscale with a fixed name

You do thisIn your own terminal on the rented machine

A rented machine usually gets a new public address on every resume. Over Tailscale, your Mac finds it by its tailnet address instead. Sign it in with a one-off auth key, or approve the device in Tailscale’s admin console. Your Mac must be on the same tailnet.

On the rented machinebash
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up --hostname build-box

If tailscale up can’t create its network device, start tailscaled with --tun=userspace-networking.

Check it worked

  • Rented machinetailscale statusIt lists your Mac, and this machine under the name you gave it.

Install, sign in and pair

You do thisOn the rented machine and your Mac

Follow the install and pairing steps of the build machine guide or the agent server guide. Then give CmdBrief a fixed name too, since a resume can change the machine’s hostname — and if this machine is an agent server that should resume interrupted agents automatically after a stop and resume, enable Remote host (automatic resume is off by default even under cmdbrief serve):

On the rented machinebash
cmdbrief computer name build-box
cmdbrief remote-host on              # agent server: auto-resume interrupted agents after stops

Install toolchains and agent CLIs in your home folder, which a stop normally keeps. Caches such as ~/.cache and /tmp are often not kept.

Check it worked

  • Rented machinecmdbrief computersYour Mac is listed with full use and a direct line.

Stop and resume it once

You do thisAt your provider, then on your Mac

Stop the machine during a build or a lead’s turn, wait more than ten minutes, resume it, and check again without logging in to start anything:

Check it worked

  • Rented machinesystemctl --user is-active cmdbriefactive within a couple of minutes of the resume.
  • Rented machinetailscale statusSame name and tailnet address, and no new device to approve.
  • MacLook at the machine’s row in Settings › ComputersIt is back without pairing again. The Mac retries the connection on its own.
  • MacBuild machine: run the next buildIt goes to the machine again.
  • MacAgent server: look at the lead that was workingThe agents are still signed in. With Remote host (cmdbrief remote-host on) or Resume interrupted agents on launch on, the lead resumes by itself; with both off (the default), it stays recorded until you press Continue or Resume lead & crew from your Mac.

If it fails

  • The service isn’t back after a resume

    Check loginctl show-user "$USER" -p Linger. If the provider doesn’t bring back user services, run CmdBrief from a system unit with User= set to your user.

  • Tailscale shows a new device after a resume

    You do this

    /var/lib/tailscale wasn’t kept. Use an auth key meant for reuse, or ask the provider which folders a stop keeps.

  • SSH warns that the host key changed

    You do this

    Expected when a resume moves to a new machine. Check the new key with your provider, then update known_hosts.

  • The Mac says “Connect both to the same network or to Tailscale”

    Tailscale isn’t up on one side. Run tailscale status on both.

Undo

For an agent server, sign the agents out from the Mac first (Sign out in one of its agent panes). Then unpair it in Settings › Computers and delete the machine at your provider, so its disk is gone.

Questions

Does CmdBrief rent the machine for me?

No. CmdBrief does not host compute. You rent the machine from a provider and pair it with your Mac.

Why use Tailscale?

Your Mac connects to your other computers only on a network they share or over Tailscale. On a rented machine, Tailscale also keeps the same address when the public one changes.

What if the machine stops in the middle of a build?

The build ends with an error and is not rerun on its own. Your next build runs on the Mac until the machine is back.

Still unsure? Write to [email protected] or use the contact form. Contact CmdBrief →

Primary sources

Provider terms and product behavior can change. Confirm plan, pricing, model, and permission details in the current official documentation.

We use cookies to analyze site usage.