Skip to content

[FEATURE] Add Tailscale support for remote SSH access to devcontainer #85

Closed as not planned

Description

@gerchowl

Description

Add Tailscale to the devcontainer image to enable secure, private remote SSH access from any device (phone, tablet, laptop on a different network). Combined with tmux, this allows monitoring and interacting with worktree agent sessions from mobile SSH clients.

Problem Statement

When running parallel agents via tmux + cursor-agent CLI inside the devcontainer (see #64), there's no way to connect from a mobile device or remote machine to monitor or interact with those sessions. The devcontainer is typically only accessible from the host machine. Tailscale would provide a stable, private Wireguard-based IP reachable from any device on the tailnet.

Proposed Solution

  1. Add Tailscale to the devcontainer image — install tailscale in the Containerfile.
  2. Configure SSH access — ensure sshd is running and accessible over the Tailscale interface.
  3. Auth key management — support TS_AUTHKEY env var for headless authentication (no browser login inside container).
  4. Justfile recipe — just tailscale-up to start Tailscale and display the container's tailnet IP.
  5. Document the mobile workflow — how to SSH in from a mobile client (e.g. Termius, Blink) and attach to tmux sessions.

Alternatives Considered

  • Port forwarding / VS Code tunnels — works for the host, but not for mobile clients on different networks without additional setup.
  • Cloudflare Tunnel — similar capability but heavier, and Tailscale is more natural for peer-to-peer access.

Additional Context

Impact

  • Developers who work across multiple devices benefit from seamless access to their devcontainer.
  • Not a breaking change — Tailscale is opt-in (only starts when just tailscale-up is run or TS_AUTHKEY is set).

Changelog Category

Added

Activity

  1. added
    feature
    priority:low
    area:image
    effort:medium
    semver:minor
    on Feb 18, 2026
  2. added this to the Backlog milestone on Feb 20, 2026
  3. c-vigo commented on Jul 8, 2026

    @c-vigo
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:imageeffort:mediumfeaturepriority:lowsemver:minor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions