Skip to content

About

User-level Tailscale and OpenSSH setup for ChatGPT Dots cloud computers

Topics

Resources

Security policy

Stars

45 stars

Watchers

1 watching

Forks

Repository files navigation

dots-tailscale

GitHub Stars

English · 한국어 · 简体中文 · 日本語

v0.10.0: New installations can choose an SSH port such as 2222 with DOTS_TS_SSH_PORT. The default stays 22; existing installations are not migrated. See the release notes and port-selection guide.

Use Tailscale and SSH to reach your Dots cloud computer from your own devices. dots-tailscale installs the tools without root or systemd and keeps the installation, Tailscale node state and SSH identity under /workspace so you can reuse them when that directory survives an environment change.

This guide covers v0.10.0; check the release page for published artifacts before installing. It includes the v0.7.1 security fix that validates CONNECT hosts before certificate generation (GHSA-84m8-25vr-f74m); v0.7.0 and earlier are affected. New installations use Tailscale 1.104.4. This is an independent project, not an official OpenAI or Tailscale tool.

v0.10.0 is published. Independently verify the release artifacts and their provenance before installing or updating; a tag or matching checksums alone do not authenticate the publisher.

Upgrading from v0.6.0 or an older baseline: packages declaring Tailscale 1.102.4 need the explicit security-baseline migration, after a separate runtime upgrade. Ordinary update apply keeps its cross-baseline guard.

First upgrade from v0.9.1 or older: complete the verified candidate SSH precheck before using the old updater, including for port 22. Unsupported custom SSH configurations may be refused. Keep configuration unchanged and hold old automatic source updates during the transition.

v0.10.0 features

The installation examples below pin v0.10.0. Automatic updates and recovery runners remain opt-in; ordinary installation does not register a startup hook or recovery task.

Feature What to expect
New-install SSH port Choose a port such as 2222 with DOTS_TS_SSH_PORT during a new install; the default remains 22. Existing-port migration is not supported. See port selection.
Runtime baseline diagnostics version and doctor compare the declared baseline with separately observed versions. A healthy connection or matching baseline is not a security verdict.
Stronger package-update verification Targets from v0.8.0 onward require release provenance, a preinstalled trusted gh and an independently prepared trust root. Older unsigned targets need explicit manual review; automatic updates cannot use that exception.
Offline release inspection update check --bundle compares a reviewed local bundle without changing the installation. It does not establish fresh publication or publisher identity.
Bounded shim admission The default budget is 64 active connections; an operator-managed launch can select 1–256. Healthy control/DERP streams keep their normal lifetime.
Optional update and recovery runners Both stay off until explicitly enabled. A runner still needs an execution environment; it cannot restart itself after VM replacement. Automatic package updates do not update Tailscale binaries.

The local recovery ledger is shared only after the older watchdog is stopped and both local and external actors use the coordinated entry point. Existing production tasks that call start.sh directly still follow the legacy path. The MCP route remains an advanced preview: a second real account has not completed setup/recovery reproduction, so this is not a claim of general automatic-recovery support.

Read the v0.10.0 usage notes, automatic updates, release provenance, coordinated recovery and preview readiness before opting in.

In v0.9.0, the experimental broker adds bounded follow-ups for acknowledged but unclaimed events and aggregate recovery-budget diagnostics and operator warnings. Follow-ups and operator warnings are disabled by default and require separate broker/monitor deployment and configuration; installing this package does not enable them. The baseline diagnostic also recognizes official stable -t…-g… backend versions. Reminders do not grant execution or guarantee recovery after VM replacement.

What you can do

Task How it helps
Install and reconnect Run Tailscale with local OpenSSH; reuse existing state and keys when restarting a preserved installation.
Check a connection Inspect installation integrity, processes, socket and backend status with dots-ts version and doctor.
Reach private services Use tailnet connections and optional local SOCKS5/HTTP proxies for explicitly configured applications.
Update the package Check releases and manually update the scripts with dots-ts update; optionally enable cached local notices.
Update Tailscale Use dots-ts runtime to check and manually replace the CLI/daemon pair, with persistent progress and recovery records.

Automatic startup and automatic updates are not enabled. The external recovery experiment described below is a separate setup.

Quick start

For a new installation, use the Dots cloud terminal. You need Linux x86_64, Python 3, Git, OpenSSH and permission to bind the selected local SSH port (22 by default); see the full dependencies and SSH setup. Existing users should follow the next section instead of reinstalling.

Choose the port before installing. For 2222, replace the bash tailscale-setup.sh install line below with DOTS_TS_SSH_PORT=2222 bash tailscale-setup.sh install. Normal start/login commands use the saved port without this option. This does not change the port of an existing installation.

cd /workspace
HTTPS_PROXY=http://browser-proxy:8889 HTTP_PROXY=http://browser-proxy:8889 \
  git clone --branch v0.10.0 --depth 1 https://github.com/abruption/dots-tailscale.git
cd dots-tailscale
bash tailscale-setup.sh check
bash tailscale-setup.sh install
bash /workspace/.dots-tailscale/start.sh login

Open the approval URL printed at first login. Add your client public key to the installed SSH authorized_keys file, and independently check the host-key fingerprint in the cloud terminal before connecting. The usage guide covers these steps.

The clone command explicitly uses the platform proxy because direct GitHub HTTPS failed in the tested Dots SSH environment. If downloads still fail, see download diagnostics and transfer alternatives. Keep all four source files and their original source-manifest.json together.

When the environment changes but the installation survives, start it again:

bash /workspace/.dots-tailscale/start.sh

Updating an existing installation

There are two separate versions to manage:

Command Updates Does not update
dots-ts update The dots-tailscale scripts and package metadata Tailscale binaries
dots-ts runtime The installed tailscale and tailscaled pair The dots-tailscale package

First check the installed package and available package release:

/workspace/.dots-tailscale/dots-ts version
/workspace/.dots-tailscale/dots-ts update check --tag v0.10.0 --proxy http://browser-proxy:8889 --json

The v0.9.1 proxy-environment fix is retained: uppercase and lowercase daemon proxy variables use the local shim. An already-running conflicting daemon needs a separate controlled restart; a source-package update does not rewrite its environment. See diagnosis and recovery.

For the first upgrade from a pre-v0.8.0 updater, follow the independently verified bootstrap: authenticate the original manifest and all four sources before executing a candidate helper. Matching hashes alone do not authenticate the publisher.

v0.7.0 packages declare the same Tailscale baseline and reach v0.7.1 through the ordinary package update; applying it restarts the shim with the fix. Existing packages declaring Tailscale 1.102.4, including v0.6.0, must follow the security-baseline migration to reach v0.7.1. If your installed tools predate v0.6.0, first use the package update instructions to obtain v0.6.0 on the same baseline. Older installations without trusted metadata need the manual review procedure. These legacy steps establish the baseline; use the verified bootstrap above for the transition to v0.10.0.

Once v0.6.0 or later tools are installed, check the official stable Tailscale version:

/workspace/.dots-tailscale/dots-ts runtime check --json

New v0.10.0 installations start with Tailscale 1.104.4. Existing binaries are not silently replaced by a package update or install. To change them, review the reported version and upstream advisories, then follow the manual runtime update guide. The baseline migration requires both installed binaries and the running backend to be exactly 1.104.4 before the source package changes.

Before applying an update, verify an independent cloud recovery terminal is usable. For runtime updates, pause external recovery jobs and resume them after fresh SSH/ping checks. Once execution of a candidate daemon has been attempted, even a failed startup does not permit automatic downgrade: uncertain failures require the guide's manual recovery procedure. Package code rollback and Tailscale state compatibility are different things.

Everyday commands

# Show package integrity and the separate Tailscale version
/workspace/.dots-tailscale/dots-ts version
# Diagnose local installation and connection state
/workspace/.dots-tailscale/dots-ts doctor
# Run the installed Tailscale CLI with its socket
/workspace/.dots-tailscale/dots-ts cli status
# Inspect optional application proxy settings
/workspace/.dots-tailscale/dots-ts proxy show

Local SOCKS5/HTTP proxies are off by default. Enabling them requires an explicit daemon restart; they do not configure the Dots browser, ChatGPT connectors or MCP clients automatically. See the proxy guide and private HTTPS API example.

What has been checked

  • The v0.10.0 exact-tag CI passed 601 tests each on Linux Python 3.11 and 3.13. The dated report covers isolated install, start, doctor, and update checks for ports 22 and 2222, along with failure handling and identity preservation. These are fixture checks, not a live Tailnet trial or evidence of external reachability on a selected port.
  • A live Dots trial upgraded Tailscale 1.102.4 to 1.104.2 with the reviewed development package, preserved node/SSH identity and confirmed fresh external SSH and relay ping afterward.
  • The v0.6.0 release records core and research tests run against the final commit and isolated official-binary checks. These do not establish compatibility with all future versions, live failure recovery or state downgrade safety.
  • The v0.7.0 release adds isolated new-install and source-migration tests. A later 2026-10-28 live source-migration trial moved one existing installation from package 0.6.0 to 0.7.0, preserving the already-installed Tailscale 1.104.4 runtime and node/SSH identities; a fresh strict-host-key SSH connection and relay ping succeeded afterward. This does not validate a fresh installation, another account, live failure injection, interrupted-transaction repair, VM replacement, runtime state downgrade or all future versions. The pre-publication baseline and TLS review remains a separate historical record.
  • /workspace preservation is a condition, not a platform guarantee. Runtime sockets, PIDs and logs are recreated in /tmp. A new environment still needs a way to execute the start command.
  • A local Running result is not proof of external reachability. Check a fresh SSH connection and the application paths you use. Upgrading to 1.104.2 is not a claim that Tailworm is fixed.

Historical Dots terminal showing installation checks and Tailscale 1.102.4

This maintainer-provided screenshot is a historical installation/status check, not a display of the current package version or proof of recovery after VM replacement. The dated trial above describes the later update test.

Experimental external recovery

In v0.10.0, local watchdog/recovery coordination and automatic package updates are off by default and require explicit opt-in. The external recovery experiment is a separate setup: ordinary installation does not deploy an external monitor or MCP Events server, link a ChatGPT app, or register and authorize a Dots recovery task.

The external route requires an operator-managed server and SSO setup. Events may be processed late; setup on another account and recovery after arbitrary VM replacement remain unverified. These support and execution-environment lifecycle questions remain in #45 and #20.

The v0.10.0 validation report covers isolated fixtures. It does not establish successful recovery of an operating VM or live tailnet reachability. See the preview readiness gates for the remaining scope.

Historical context: v0.8.0 introduced watchdog coordination and opt-in automatic updates; v0.7.1 predates those additions. These are release-history references, not the current activation instructions.

Documentation and project files

Path Purpose
tailscale-setup.sh, shim.py Installation/startup, local OpenSSH and proxy-compatible Tailscale transport
dots-ts, dots_proxy.py Diagnostics, package/runtime updates and optional application proxy settings
source-manifest.json Package version and checksums of the four source files
home-persistence-probe.py Record HOME and /workspace continuity markers
tests/, research/ Regression tests and separately deployed research tools

About

User-level Tailscale and OpenSSH setup for ChatGPT Dots cloud computers

Topics

Resources

Security policy

Stars

45 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages