Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
area:workspaceWorkspace tooling, justfile, templateseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestsemver:minorNew feature, backward-compatible
Description
Summary
One-command flow to provision a devcontainer on a remote host and connect via Tailscale SSH. From zero (uncloned repo) to working terminal session — no manual steps.
Target DX
C-SPC d → "new devc on remote" → pick host → pick repo → [automated] → SSH tab
Or from CLI:
devc-provision.sh sdsc --repo [email protected]:vig-os/fd5.git
# → clones, scaffolds .devcontainer, injects TS key, compose up, waits for tailnet, prints IPSub-issues
- [FEATURE] Add opt-in Tailscale SSH support to devcontainer workspace template #208 — Tailscale SSH in workspace template (container-side plumbing)
- [FEATURE] Tailscale auth key injection in devc-remote.sh #230 — Tailscale auth key injection in
devc-remote.sh(local OAuth → remote inject) - [FEATURE] IDE-agnostic remote connection wrappers (cursor-remote, code-remote) #231 — IDE-agnostic remote connection wrappers (split infra from Cursor/VS Code)
Architecture
Local machine Remote host
───────────── ───────────
devc-provision.sh <host> [repo]
├── devc-remote.sh --open none --yes
│ ├── SSH connectivity check
│ ├── Clone repo (if missing)
│ ├── init-workspace (if no .devcontainer/)
│ ├── Generate ephemeral TS key (OAuth API)
│ ├── Inject key into docker-compose.local.yaml
│ └── compose up ──────────────────► container starts
│ ├── post-create: install tailscale
│ └── post-start: tailscaled + tailscale up
├── Poll tailscale status --json
│ until container appears on tailnet
└── Output: tailscale hostname + IP
IDE/terminal (choose one):
├── WezTerm C-SPC d → ssh root@<ip>
├── cursor --remote ssh-remote+root@<hostname>
├── code --remote ssh-remote+root@<hostname>
└── ssh root@<hostname>
Prerequisites
- Tailscale OAuth client with
auth_keysscope +tag:devcontainer TS_CLIENT_ID+TS_CLIENT_SECRETin local environment- Tailnet ACLs allowing SSH to
tag:devcontainerdevices - Remote host with podman/docker + compose
Out of scope
- WezTerm keybind integration (personal dotfiles, not project code)
- JetBrains Gateway support
- Baking Tailscale into the container image (separate optimization)
References
- Design doc:
docs/designs/tailscale-ssh.md - Tailscale OAuth clients
- Tailscale API
Metadata
Metadata
Assignees
Labels
area:workspaceWorkspace tooling, justfile, templateseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestsemver:minorNew feature, backward-compatible
Activity
feat(remote): IDE-agnostic --open ssh mode with Tailscale wait (#234)
feat(remote): Tailscale key injection and --open/--yes flags (#233)
c-vigo commentedon Jul 7, 2026
@gerchowl — backlog-consolidation proposal for the whole remote-devcontainer family, from the post-0.4.0 triage (2026-07-07).
Proposal: keep this issue (#232) and #70 as the two surviving trackers, and close the satellites below as consolidated-into-#232/#70. The family is dormant since Feb–Mar, and all of it pre-dates the Nix cutover — remote provisioning wants a fresh design against the 0.4.0 world (Nix image, direnv-mode workspaces #854, capability shells #884) and the upcoming devkit rename (#781, 1.0), so the fine-grained satellites would need re-speccing anyway. Their bodies stay linked from here, nothing is lost.
Satellites proposed for closure:
Stale PR: #166 (implements #70, branch
feature/70-remote-devc-orchestration, open since February) — certain to conflict with the 0.4.0 scaffold; propose closing the PR, work restarts from #70 when the family is re-planned.Branches to prune with the closures (no other open PRs attached):
feature/70-remote-devc-orchestration(after closing PR feat(scripts): remote devcontainer orchestration via just recipe (#70) #166)feature/85-tailscale-in-containerfeature/246-remote-devc-handoffIf you'd rather keep any satellite alive, just say which — the rest close on your ack.
c-vigo commentedon Jul 8, 2026
Closing as part of an agreed backlog cleanup (with @gerchowl). The remote-devcontainer /
devc-remote/ Tailscale initiative predates the Nix + Claude-native migration (#625) and has had no activity since Feb–Mar 2026. If remote provisioning is wanted again it will be re-planned from scratch after the devkit rename (#781). Reopen/refile if revived.