Repository navigation
Description
Problem or use case
I want a headless Orca server to own SSH-backed projects and workspaces, so multiple paired clients can use the same remote workspace without depending on one desktop client.
The desired topology is:
Desktop client 1 ─┐
├── Orca server A (orca serve, no desktop UI) ── SSH ── execution host B
Desktop client 2 ─┘
The source files, Git operations, terminals, and agents should run on B. Server A should persist the SSH-host association and workspace registration. Either client should be able to open and use those workspaces through its existing pairing with A, without registering B separately on each client or keeping client 1 running.
In my current setup, adding B as an SSH host from a Windows desktop works, but the SSH target and its project records belong to that desktop. A's profile has no corresponding SSH target or projects. Selecting the paired server does not provide a server-scoped SSH setup workflow.
Inspected builds: Windows desktop 1.4.211 and Linux/WSL2 headless server 1.4.224. In those installed builds:
- SSH settings add/import targets through the desktop's local Electron IPC.
- The runtime RPC surface exposes SSH list/state/connect operations, but no target add/import operation.
- CLI project setup explicitly directs SSH project setup to the desktop UI.
- Server 1.4.224 does initialize the SSH handler stack during
servestartup, so the remaining request is for a supported configuration and project-import workflow.
Proposed solution
Support managing an SSH execution host owned by a selected headless Orca server:
- Add/import and connect an SSH target on server A, using A's SSH configuration and authentication.
- Browse B and import an existing project into A's registry, then create full Orca workspaces on B.
- Provide a CLI administration path so A can be configured without opening a desktop window.
- Make the resulting projects, workspaces, and sessions available to paired clients through A, with clear ownership and connection status.
- Keep SSH authentication on A; clients should not need B's credentials or a direct connection to B.
For this use case, setup should be performed once on A. Closing one client and opening another should preserve the same server-owned SSH association and workspaces. Existing desktop-owned SSH targets should retain their current ownership unless explicitly moved.
Alternatives or additional context
- A terminal on A running
ssh Bdoes not provide the full Orca workspace integration on B. - Registering B independently on every desktop leaves each client with its own target/project registration and does not provide the shared server-owned workspace.
- Running another
orca serveon B and pairing every client directly to B changes the topology; the goal here is to reuse the clients' existing connection to A. - SSH environment recipes also use a desktop-local provisioning entry point in the inspected builds, so I could not find a supported recipe-based setup path for this topology.
Related: #8489 described both headless SSH initialization and the paired-desktop configuration gap; it is closed, and the initialization is present in the server build inspected here. #25887 concerned workspace creation for an already registered server-owned SSH project. This request covers configuring the SSH host and importing the first project when A has no desktop UI. #26291 covers a similar gateway topology with a desktop as the intermediary.
Activity
JargeZ commentedon Oct 24, 2026
+1 for this feature request.
I use Orca every day, and I add disposable per-workspace environments to all my projects. I maintain a disposable recipe template for this: each Orca workspace gets a fresh local container that Orca reaches over SSH.
I now trying to set up the same topology as @Shujakuinkuraudo:
orca serveruns on a separate host, and I connect to it from a client (web browser or desktop). But for the client, this server is the SSH target, and I cannot go one level deeper. When I try to add an SSH host on that server, I get:I understand the complexity. If Orca supports an SSH target behind an SSH target, the chain has no natural end, and it is not clear how to support and maintain it. Full support would be ideal, but it is probably more than most users need.
Proposal: support only recipe VMs behind a headless server
Support only this chain: Orca client → headless Orca server → recipe VM.
environmentRecipesentry creates.create/destroy(andsuspend/resume). It is not a full SSH host that you can add, browse or reuse for other projects.I think this gives a clear limit: one level, and only for targets that the server creates and destroys itself. It also covers the main use case here: shared, server-owned workspaces without one desktop that must stay online.
AmethystLiang commentedon Oct 24, 2026
Looking more into it