Host the archcar daemon on a headless machine and drive it from your laptop over SSH.
The machine that should run five agents, five dev servers, and a test suite is
often not the laptop in front of you. Because archcar owns all the state and
every surface is a client of it, moving execution to a server is a deployment
choice rather than a different product.Nothing here requires a display on the server. It has no GUI dependency at all.
What ends up where
On the server
On your laptop
The archcar daemon and its SQLite state
The desktop app or the CLI
Repository clones and every worktree
Nothing repository-shaped, unless you import a workspace
Agent CLIs (codex, claude) and their authentication
Agent CLI authentication and gh auth login have to happen on the server.
Authenticating on your laptop does nothing for a server-hosted session.
Set up the server
Install the CLI and daemon by whichever channel you prefer — the tarball, CLI
AppImage, AUR package, Nix, Homebrew, or the APT/DNF archductor package all
ship both archductor and archcar. Then:
archductor service setup
That installs the background service (a systemd user unit on Linux, a launchd
agent on macOS, a Task Scheduler logon task on Windows), starts it, provisions
an access token, and reports whether the daemon can reach the tools it needs.Add --listen 0.0.0.0:7420 only if clients will use the TCP transport. For
SSH, which is what you should use, omit it — SSH needs no open port.service setup exits non-zero if the daemon did not start, so a provisioning
script can trust its status, and it refuses to print connection instructions
for a listener that is not actually up.Two things it handles that are easy to get wrong by hand:Surviving logout. systemd stops a user manager when the user’s last login
session ends, so a unit you install over SSH dies the moment you disconnect.
Install runs loginctl enable-linger and tells you if it could not.
archductor service status reports boot_persistent.The daemon’s PATH. launchd gives a job /usr/bin:/bin:/usr/sbin:/sbin,
and a systemd user unit is barely richer. Neither can see Homebrew, a version
manager, or ~/.local/bin, so the daemon fails to find codex even though your
shell finds it instantly. Install probes your login shell and bakes the
resulting PATH into the unit.
archductor service statusarchductor service doctor # resolves git, gh, and agent CLIs against the SERVICE's PATHarchductor service token # print the token; --rotate to replace itarchductor service uninstall
service doctor is the check that distinguishes “the service is running” from
“the service is usable”. Run it after any change to how tools are installed.
Platform caveats
macOS: a launchd agent starts at login, not at boot. On a headless Mac,
log in once after a reboot, or install a root-owned LaunchDaemon yourself.
Windows: logon tasks have the same scope. Running while logged off means
storing the account password in Task Scheduler, which Archductor will not do
on your behalf.
AppImage: install refuses to write a unit pointing into an AppImage’s
temporary mount (/tmp/.mount_*), because that unit works right up until the
next reboot. Extract or install properly on a server.
Connect from a client machine
# SSH — recommendedarchductor remote connect ssh://you@server# Token over TCP — loopback or a network you already trustarchductor remote connect server:7420 --token <token>archductor remote status # where requests go, and over which transportarchductor remote disconnect # back to this machine's local daemon
connect verifies the daemon responds before saving, so a typo fails fast
instead of half-configuring the machine.One profile moves the whole machine: the CLI, the desktop app (Settings →
Remote daemon), and archductor mcp serve all follow it. The desktop app will
not spawn a local sidecar while a remote is configured.Resolution order, highest first:
ARCHDUCTOR_ARCHCAR_REMOTE / ARCHDUCTOR_ARCHCAR_TOKEN in the environment
The saved profile ($XDG_STATE_HOME/archductor/remote.json, owner-only)
The local daemon
Why SSH rather than the token
SSH
Token over TCP
Encryption
yes, by sshd
none
Identity
your SSH key, per user
one shared token for everyone
Revoke one user
remove their authorized_keys line
impossible — rotating cuts off everybody
Open port on the daemon
none
yes
Server setup
sshd, which a headless box already runs
--listen, plus a firewall you trust
ssh:// runs archductor archcar stdio-proxy on the far side and pipes the
protocol through the SSH connection. The destination is handed to ssh
verbatim, so ~/.ssh/config applies — host aliases, jump hosts, and per-host
keys all work.If archductor is not on the non-interactive PATH over SSH, give the path
explicitly:
On the TCP transport. It is a shared bearer token in cleartext: no TLS, no
per-client identity, and rotating the token revokes every client at once. A
bare port (--listen 7420) binds loopback only; anything else must sit behind
a VPN, an SSH tunnel, or a TLS reverse proxy. Use ssh:// and none of this
applies.
Several daemons
Save more than one and switch between them — a work server, a home box, and
your laptop.
archductor remote connect ssh://you@build-box --label buildarchductor remote connect ssh://you@home-nas --label homearchductor remote listarchductor remote use buildarchductor remote use local # or: this-machinearchductor remote remove home
The label is what appears in the app’s switcher.
Working against a remote
Most commands behave the same; paths are the exception, because they resolve on
the daemon’s filesystem, not yours.archductor repo add is refused while a remote profile is active — it takes a
local path that means nothing on the server. Use the daemon-side command
instead:
Two commands answer “is the server healthy”, as opposed to this machine:
archductor archcar service-status # follows the remote connectionarchductor archcar service-doctor
archductor service status and archductor service doctor, without archcar,
always answer for the machine you typed them on. That distinction matters when
you are debugging a session that will not start.
Pulling a workspace back to your machine
You reviewed something on the server and now want it locally — same branch,
same conversation. remote import reads from the remote and writes to your
local daemon, matching repositories by clone URL rather than by path. Both
daemons are contacted; neither talks to the other.
archductor remote import fix-auth --thread-id 12# First time on this machine, when it has no clone of the repository:archductor remote import fix-auth --thread-id 12 --clone-into ~/src/my-app
Omit --thread-id to import the workspace without a chat. --name and
--branch rename it locally.Without --clone-into the import stops and asks rather than picking a directory
on your disk. With it, the whole first-time flow is one command — which matters
precisely here, since repo add is refused while a remote profile is active.In the app this is “Copy to this machine” on a workspace’s right-click menu,
shown only while a remote client is selected.
MCP against a remote
Because MCP tools are archcar requests, an MCP client pointed at a machine with
a saved remote profile drives the server’s daemon:
archductor remote connect ssh://you@serverarchductor mcp register --client claude
Your local Claude Code can now read and drive the server-hosted workspaces.
Prefer the default session profile over --full unless you specifically want
an agent that can create and archive workspaces.
Protocol details
docs/api.md
documents the transports, the envelope format, the workflow objects, and the
stability policy. Read it if you are writing a client rather than operating one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Perceo","description":"Local-first dev suite for people who run coding and computer-use agents all day.","colors":{"primary":"#8b5cf6","light":"#a78bfa","dark":"#7848e6"},"logo":{"light":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/light.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=bcf86f4052452600412cca82101192cd","dark":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/dark.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=ffe9ec1031c35dd24ff17c6dab039daa","href":"https://perceo.ai"},"favicon":"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/favicon.png?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=db3cc32c3366ec0a2972aa492e5f0c07","appearance":{"default":"dark"},"background":{"decoration":"grid","color":{"light":"#faf8f7","dark":"#312f2f"}},"navbar":{"links":[{"href":"https://perceo.ai","label":"perceo.ai"}],"primary":{"type":"github","href":"https://github.com/perceo-ai"}},"footer":{"socials":{"github":"https://github.com/perceo-ai","website":"https://perceo.ai"},"links":[{"header":"Products","items":[{"label":"Archductor","href":"https://github.com/perceo-ai/conductor-arch"},{"label":"Archfleet","href":"https://github.com/perceo-ai/archfleet"},{"label":"Archivum","href":"https://github.com/perceo-ai/archivum"}]},{"header":"Perceo","items":[{"label":"Home","href":"https://perceo.ai"},{"label":"Products","href":"https://perceo.ai/products"}]}]},"fonts":{"family":"Instrument Sans"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"perceo","hasAudioNarration":false,"actualSubdomain":"perceo","customDomains":["docs.perceo.ai"],"gitSource":{"type":"github","owner":"perceo-ai","repo":"perceo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ab9d4add880fe9600af514a","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Archductor","count":11},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Perceo","count":4},{"language":"default","tag":"Archivum","count":2},{"language":"default","tag":"Concepts","count":2},{"language":"default","tag":"Archfleet","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--perceo-ground: #312f2f;--perceo-surface: rgba(255, 255, 255, 0.045);--perceo-surface-hover: rgba(255, 255, 255, 0.07);--perceo-border: rgba(255, 255, 255, 0.1);--perceo-border-strong: rgba(255, 255, 255, 0.2);--perceo-accent: #8b5cf6;--perceo-accent-soft: #a78bfa}:root:not(.dark){--perceo-surface: rgba(49, 47, 47, 0.03);--perceo-surface-hover: rgba(49, 47, 47, 0.06);--perceo-border: rgba(49, 47, 47, 0.12);--perceo-border-strong: rgba(49, 47, 47, 0.22)}#content-area h1,#content-area h2,#content-area h3,.prose h1,.prose h2,.prose h3{font-style:italic;letter-spacing:-0.015em}#content-area .eyebrow,#content-area [class*=\"eyebrow\"]{text-transform:uppercase;letter-spacing:0.18em;font-style:normal;font-size:0.72rem;font-weight:600}#content-area .card,#content-area [class*=\"accordion\"]{background:var(--perceo-surface);border-color:var(--perceo-border);border-radius:8px;transition:border-color 0.2s ease,\n\t\tbackground-color 0.2s ease}#content-area .card:hover{background:var(--perceo-surface-hover);border-color:var(--perceo-border-strong)}.dark #content-area pre,.dark #content-area .code-block{background:#101014;border:1px solid var(--perceo-border);border-radius:8px}#content-area code{font-size:0.875em}#content-area a:not(.card):not([class*=\"button\"]){text-underline-offset:3px;text-decoration-thickness:1px}#content-area a:not(.card):not([class*=\"button\"]):hover{color:var(--perceo-accent-soft)}#content-area table{border-color:var(--perceo-border)}#content-area th{font-weight:600;text-transform:uppercase;letter-spacing:0.1em;font-size:0.72rem}.dark{scrollbar-color:rgba(255, 255, 255, 0.16) transparent}"}]}
{"page":{"pagePath":"archductor/remote","slug":"/archductor/remote","pageMetadata":{"title":"Running on a server","description":"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.","href":"/archductor/remote"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The machine that should run five agents, five dev servers, and a test suite is\noften not the laptop in front of you. Because `,_jsx(_components.code,{children:`archcar`}),` owns all the state and\nevery surface is a client of it, moving execution to a server is a deployment\nchoice rather than a different product.`]}),`\n`,_jsx(_components.p,{children:`Nothing here requires a display on the server. It has no GUI dependency at all.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-ends-up-where`,children:`What ends up where`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`On the server`}),_jsx(_components.th,{children:`On your laptop`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`archcar`}),` daemon and its SQLite state`]}),_jsx(_components.td,{children:`The desktop app or the CLI`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Repository clones and every worktree`}),_jsx(_components.td,{children:`Nothing repository-shaped, unless you import a workspace`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Agent CLIs (`,_jsx(_components.code,{children:`codex`}),`, `,_jsx(_components.code,{children:`claude`}),`) and their authentication`]}),_jsx(_components.td,{children:`Your SSH key`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`gh`}),` and its authentication`]}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Sessions, terminals, scripts, checks, background tasks, PR operations`}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Agent CLI authentication and `,_jsx(_components.code,{children:`gh auth login`}),` have to happen `,_jsx(_components.strong,{children:`on the server`}),`.\nAuthenticating on your laptop does nothing for a server-hosted session.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`set-up-the-server`,children:`Set up the server`}),`\n`,_jsxs(_components.p,{children:[`Install the CLI and daemon by whichever channel you prefer — the tarball, CLI\nAppImage, AUR package, Nix, Homebrew, or the APT/DNF `,_jsx(_components.code,{children:`archductor`}),` package all\nship both `,_jsx(_components.code,{children:`archductor`}),` and `,_jsx(_components.code,{children:`archcar`}),`. Then:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` setup`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`That installs the background service (a systemd user unit on Linux, a launchd\nagent on macOS, a Task Scheduler logon task on Windows), starts it, provisions\nan access token, and reports whether the daemon can reach the tools it needs.`}),`\n`,_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`--listen 0.0.0.0:7420`}),` only if clients will use the TCP transport. `,_jsx(_components.strong,{children:`For\nSSH, which is what you should use, omit it`}),` — SSH needs no open port.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`service setup`}),` exits non-zero if the daemon did not start, so a provisioning\nscript can trust its status, and it refuses to print connection instructions\nfor a listener that is not actually up.`]}),`\n`,_jsx(_components.p,{children:`Two things it handles that are easy to get wrong by hand:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Surviving logout.`}),` systemd stops a user manager when the user’s last login\nsession ends, so a unit you install over SSH dies the moment you disconnect.\nInstall runs `,_jsx(_components.code,{children:`loginctl enable-linger`}),` and tells you if it could not.\n`,_jsx(_components.code,{children:`archductor service status`}),` reports `,_jsx(_components.code,{children:`boot_persistent`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`The daemon’s `,_jsx(_components.code,{children:`PATH`}),`.`]}),` launchd gives a job `,_jsx(_components.code,{children:`/usr/bin:/bin:/usr/sbin:/sbin`}),`,\nand a systemd user unit is barely richer. Neither can see Homebrew, a version\nmanager, or `,_jsx(_components.code,{children:`~/.local/bin`}),`, so the daemon fails to find `,_jsx(_components.code,{children:`codex`}),` even though your\nshell finds it instantly. Install probes your login shell and bakes the\nresulting `,_jsx(_components.code,{children:`PATH`}),` into the unit.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # resolves git, gh, and agent CLIs against the SERVICE's PATH`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` token`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # print the token; --rotate to replace it`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` uninstall`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`service doctor`}),` is the check that distinguishes “the service is running” from\n“the service is usable”. Run it after any change to how tools are installed.`]}),`\n`,_jsx(Heading,{level:`3`,id:`platform-caveats`,children:`Platform caveats`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`macOS`}),`: a launchd `,_jsx(_components.em,{children:`agent`}),` starts at login, not at boot. On a headless Mac,\nlog in once after a reboot, or install a root-owned LaunchDaemon yourself.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Windows`}),`: logon tasks have the same scope. Running while logged off means\nstoring the account password in Task Scheduler, which Archductor will not do\non your behalf.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AppImage`}),`: install refuses to write a unit pointing into an AppImage’s\ntemporary mount (`,_jsx(_components.code,{children:`/tmp/.mount_*`}),`), because that unit works right up until the\nnext reboot. Extract or install properly on a server.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-from-a-client-machine`,children:`Connect from a client machine`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# SSH — recommended`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ssh://you@server`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Token over TCP — loopback or a network you already trust`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` server:7420`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`toke`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # where requests go, and over which transport`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` disconnect`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # back to this machine's local daemon`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`connect`}),` verifies the daemon responds before saving, so a typo fails fast\ninstead of half-configuring the machine.`]}),`\n`,_jsxs(_components.p,{children:[`One profile moves the whole machine: the CLI, the desktop app (Settings →\nRemote daemon), and `,_jsx(_components.code,{children:`archductor mcp serve`}),` all follow it. The desktop app will\nnot spawn a local sidecar while a remote is configured.`]}),`\n`,_jsx(_components.p,{children:`Resolution order, highest first:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ARCHDUCTOR_ARCHCAR_REMOTE`}),` / `,_jsx(_components.code,{children:`ARCHDUCTOR_ARCHCAR_TOKEN`}),` in the environment`]}),`\n`,_jsxs(_components.li,{children:[`The saved profile (`,_jsx(_components.code,{children:`$XDG_STATE_HOME/archductor/remote.json`}),`, owner-only)`]}),`\n`,_jsx(_components.li,{children:`The local daemon`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`why-ssh-rather-than-the-token`,children:`Why SSH rather than the token`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`SSH`}),_jsx(_components.th,{children:`Token over TCP`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Encryption`}),_jsx(_components.td,{children:`yes, by sshd`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`none`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Identity`}),_jsx(_components.td,{children:`your SSH key, per user`}),_jsx(_components.td,{children:`one shared token for everyone`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Revoke one user`}),_jsxs(_components.td,{children:[`remove their `,_jsx(_components.code,{children:`authorized_keys`}),` line`]}),_jsx(_components.td,{children:`impossible — rotating cuts off everybody`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Open port on the daemon`}),_jsx(_components.td,{children:`none`}),_jsx(_components.td,{children:`yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Server setup`}),_jsx(_components.td,{children:`sshd, which a headless box already runs`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--listen`}),`, plus a firewall you trust`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ssh://`}),` runs `,_jsx(_components.code,{children:`archductor archcar stdio-proxy`}),` on the far side and pipes the\nprotocol through the SSH connection. The destination is handed to `,_jsx(_components.code,{children:`ssh`}),`\nverbatim, so `,_jsx(_components.code,{children:`~/.ssh/config`}),` applies — host aliases, jump hosts, and per-host\nkeys all work.`]}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`archductor`}),` is not on the non-interactive `,_jsx(_components.code,{children:`PATH`}),` over SSH, give the path\nexplicitly:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ssh://you@server/opt/archductor/bin/archductor`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`On the TCP transport.`}),` It is a shared bearer token in cleartext: no TLS, no\nper-client identity, and rotating the token revokes every client at once. A\nbare port (`,_jsx(_components.code,{children:`--listen 7420`}),`) binds loopback only; anything else must sit behind\na VPN, an SSH tunnel, or a TLS reverse proxy. Use `,_jsx(_components.code,{children:`ssh://`}),` and none of this\napplies.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`several-daemons`,children:`Several daemons`}),`\n`,_jsx(_components.p,{children:`Save more than one and switch between them — a work server, a home box, and\nyour laptop.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ssh://you@build-box`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --label`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` build`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ssh://you@home-nas`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --label`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` home`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` use`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` build`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` use`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` local`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # or: this-machine`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` home`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The label is what appears in the app’s switcher.`}),`\n`,_jsx(Heading,{level:`2`,id:`working-against-a-remote`,children:`Working against a remote`}),`\n`,_jsxs(_components.p,{children:[`Most commands behave the same; paths are the exception, because they resolve on\nthe `,_jsx(_components.em,{children:`daemon’s`}),` filesystem, not yours.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`archductor repo add`}),` is refused while a remote profile is active — it takes a\nlocal path that means nothing on the server. Use the daemon-side command\ninstead:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` add-repository`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` /srv/git/my-app`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-app`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create-workspace`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-app`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix/auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --base-ref`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` main`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Two commands answer “is the `,_jsx(_components.em,{children:`server`}),` healthy”, as opposed to this machine:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service-status`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # follows the remote connection`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` archcar`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` service-doctor`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`archductor service status`}),` and `,_jsx(_components.code,{children:`archductor service doctor`}),`, without `,_jsx(_components.code,{children:`archcar`}),`,\nalways answer for the machine you typed them on. That distinction matters when\nyou are debugging a session that will not start.`]}),`\n`,_jsx(Heading,{level:`2`,id:`pulling-a-workspace-back-to-your-machine`,children:`Pulling a workspace back to your machine`}),`\n`,_jsxs(_components.p,{children:[`You reviewed something on the server and now want it locally — same branch,\nsame conversation. `,_jsx(_components.code,{children:`remote import`}),` reads from the remote and writes to your\n`,_jsx(_components.em,{children:`local`}),` daemon, matching repositories by clone URL rather than by path. Both\ndaemons are contacted; neither talks to the other.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` import`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --thread-id`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 12`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# First time on this machine, when it has no clone of the repository:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` import`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fix-auth`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --thread-id`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 12`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --clone-into`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ~/src/my-app`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Omit `,_jsx(_components.code,{children:`--thread-id`}),` to import the workspace without a chat. `,_jsx(_components.code,{children:`--name`}),` and\n`,_jsx(_components.code,{children:`--branch`}),` rename it locally.`]}),`\n`,_jsxs(_components.p,{children:[`Without `,_jsx(_components.code,{children:`--clone-into`}),` the import stops and asks rather than picking a directory\non your disk. With it, the whole first-time flow is one command — which matters\nprecisely here, since `,_jsx(_components.code,{children:`repo add`}),` is refused while a remote profile is active.`]}),`\n`,_jsx(_components.p,{children:`In the app this is “Copy to this machine” on a workspace’s right-click menu,\nshown only while a remote client is selected.`}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-against-a-remote`,children:`MCP against a remote`}),`\n`,_jsxs(_components.p,{children:[`Because MCP tools are archcar requests, an MCP client pointed at a machine with\na saved remote profile drives the `,_jsx(_components.em,{children:`server’s`}),` daemon:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` remote`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ssh://you@server`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`archductor`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` register`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --client`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` claude`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Your local Claude Code can now read and drive the server-hosted workspaces.\nPrefer the default session profile over `,_jsx(_components.code,{children:`--full`}),` unless you specifically want\nan agent that can create and archive workspaces.`]}),`\n`,_jsx(Heading,{level:`2`,id:`protocol-details`,children:`Protocol details`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://github.com/perceo-ai/conductor-arch/blob/main/docs/api.md`,children:_jsx(_components.code,{children:`docs/api.md`})}),`\ndocuments the transports, the envelope format, the workflow objects, and the\nstability policy. Read it if you are writing a client rather than operating one.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Running on a server","description":"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.","href":"/archductor/remote"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What ends up where","slug":"what-ends-up-where","depth":2,"children":[]},{"title":"Set up the server","slug":"set-up-the-server","depth":2,"children":[{"title":"Platform caveats","slug":"platform-caveats","depth":3,"children":[]}]},{"title":"Connect from a client machine","slug":"connect-from-a-client-machine","depth":2,"children":[{"title":"Why SSH rather than the token","slug":"why-ssh-rather-than-the-token","depth":3,"children":[]}]},{"title":"Several daemons","slug":"several-daemons","depth":2,"children":[]},{"title":"Working against a remote","slug":"working-against-a-remote","depth":2,"children":[]},{"title":"Pulling a workspace back to your machine","slug":"pulling-a-workspace-back-to-your-machine","depth":2,"children":[]},{"title":"MCP against a remote","slug":"mcp-against-a-remote","depth":2,"children":[]},{"title":"Protocol details","slug":"protocol-details","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"perceo","siteName":"Perceo","title":"Running on a server - Perceo","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T02:45:04.893Z","originalFileLocation":"archductor/remote.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Perceo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Running on a server - Perceo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Perceo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.perceo.ai/archductor/remote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://perceo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Running+on+a+server\u0026amp;description=Host+the+archcar+daemon+on+a+headless+machine+and+drive+it+from+your+laptop+over+SSH.\u0026amp;theme=5c8712a9a750cf92b02ca5c8\u0026amp;signature=f809528908336c0353cacedf84155f4561b18af1d2a95c31453243b3b37b44c0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Running on a server - Perceo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://perceo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Running+on+a+server\u0026amp;description=Host+the+archcar+daemon+on+a+headless+machine+and+drive+it+from+your+laptop+over+SSH.\u0026amp;theme=5c8712a9a750cf92b02ca5c8\u0026amp;signature=f809528908336c0353cacedf84155f4561b18af1d2a95c31453243b3b37b44c0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/perceo/hoxq0BHJ7kild1LK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Perceo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b5cf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.perceo.ai/archductor/remote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/archductor/remote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.perceo.ai/#organization\",\"name\":\"Perceo\",\"url\":\"https://docs.perceo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/perceo/qEdnE_JQlmrFu8Jz/logo/light.svg?fit=max\u0026auto=format\u0026n=qEdnE_JQlmrFu8Jz\u0026q=85\u0026s=bcf86f4052452600412cca82101192cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.perceo.ai#website\",\"name\":\"Perceo\",\"url\":\"https://docs.perceo.ai\",\"publisher\":{\"@id\":\"https://docs.perceo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.perceo.ai/archductor/remote#webpage\",\"url\":\"https://docs.perceo.ai/archductor/remote\",\"name\":\"Running on a server\",\"description\":\"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\",\"dateModified\":\"2026-09-28T02:45:04.893Z\",\"isPartOf\":{\"@id\":\"https://docs.perceo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.perceo.ai/archductor/remote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.perceo.ai/archductor/remote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.perceo.ai/archductor/parallel-work\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running on a server\",\"item\":\"https://docs.perceo.ai/archductor/remote\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.perceo.ai/archductor/remote#article\",\"headline\":\"Running on a server\",\"name\":\"Running on a server\",\"description\":\"Host the archcar daemon on a headless machine and drive it from your laptop over SSH.\",\"url\":\"https://docs.perceo.ai/archductor/remote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.perceo.ai/archductor/remote#webpage\"},\"dateModified\":\"2026-09-28T02:45:04.893Z\",\"publisher\":{\"@id\":\"https://docs.perceo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.perceo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Perceo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Perceo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/archductor/remote.md","siteName":"Perceo","nav":{"global":null,"tabs":[{"tab":"Perceo","icon":"layers","pages":[{"title":"Perceo","href":""}]},{"tab":"Archductor","icon":"terminal","groups":[{"group":"Get started","pages":[{"title":"Overview","href":"/archductor/overview"},{"title":"Install","href":"/archductor/install"},{"title":"Your first workspace","href":"/archductor/first-workspace"}]},{"group":"Guides","pages":[{"title":"Running work in parallel","href":"/archductor/parallel-work"},{"title":"Project setup","href":"/archductor/project-setup"},{"title":"Agent sessions","description":"Queueing versus steering, permission prompts, plan mode, background tasks, and the MCP server.","href":"/archductor/agent-sessions"},{"title":"Running on a server","href":"/archductor/remote"}]},{"group":"Reference","pages":[{"title":"Settings reference","description":"Every key in .archductor/settings.toml, and which ones the daemon actually acts on.","href":"/archductor/settings-reference"},{"title":"CLI reference","href":"/archductor/cli"},{"title":"Requirements","href":"/archductor/requirements"},{"title":"Release readiness","href":"/archductor/release-readiness"}]}]},{"tab":"Archfleet","icon":"monitor","pages":[{"title":"Archfleet","href":"/archfleet/overview"}]},{"tab":"Archivum","icon":"book-open","pages":[{"title":"Archivum","href":"/archivum/overview"}]}]},"basePath":"","title":"Running on a server - Perceo","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}