Skip to content

v0.10.0 — SSH port selection for new installations

Latest

Choose a tag to compare

@abruption abruption released this 15 Nov 12:44
· 6 commits to main since this release
b4d2d16

Adds an explicit SSH port choice for new installations while retaining port 22 as the default.

Changes

  • Select a new installation's loopback OpenSSH port with DOTS_TS_SSH_PORT, for example 2222 (#63, #91).
  • Persist one validated setting shared by installer preflight, generated SSH configuration, startup probes, doctor, and source/runtime update checks.
  • Reject malformed, reserved, proxy-conflicting or foreign-occupied ports without changing sysctl, killing another listener or silently selecting a fallback.
  • Check candidate support and configuration snapshots before source replacement; supported package updates preserve SSH configuration and the SSH process and restart only the shim.
  • Update installation examples and SSH-port guidance in English, Korean, Japanese and Simplified Chinese.

Tailscale remains pinned to 1.104.4. Package updates do not replace installed runtime binaries, node state or SSH identity. Loopback-only public-key OpenSSH and Tailscale SSH disabled by default are retained. Optional update/recovery runners remain opt-in.

Updating existing installations

Existing generated port-22 configurations remain supported, but validation is stricter: unsupported custom sshd directives, unsafe file modes/hardlinks and ambiguous paths are refused. Existing-port migration is not supported. Do not edit the saved port or overwrite configuration, state or keys to force an upgrade.

Before the first upgrade with a v0.9.1 or older updater, independently authenticate the original manifest and all four candidate sources with trusted verifier/roots, then run the read-only candidate SSH precheck. Hold any old automatic source updater and keep configuration unchanged until the transition completes. This external precheck is not atomic with the old worker and cannot retrofit the new guard into it. Pre-v0.8.0 updaters also require the independently verified bootstrap.

The v0.9.1 proxy-environment fix is retained. An already-running affected daemon still needs the separate controlled recovery procedure; a source update does not rewrite its environment. Read the usage guide and keep an independent recovery terminal available.

Validation and scope

Source: b4d2d1691075e204d9c244aa873e54b140b68ef2. The exact-tag Checks passed, including 601 tests each on Python 3.11 and 3.13. Research checks and Runtime artifact smoke also passed. Independent Claude Opus 5.5 and Gemini 4 Argon Medium reviews and isolated regressions are recorded in PR #91 and the dated report.

The port-selection checks use isolated fixtures, not a live Tailnet or external SSH trial. Selecting a port does not authorize network access; tailnet policy and host-key onboarding need separate review. A configuration change after shim stop may require manual review. Publishing does not deploy to existing installations or enable automatic recovery. See the release notes.

Published asset provenance

The exact-tag validation and attestation workflow passed. The original manifest and both archives were independently verified against the exact repository, workflow, tag and source digest using trusted GitHub CLI and independently obtained roots. All ten assets are the original workflow candidate bytes; the four executable hashes and both archives' 198 tracked files were compared with the tagged Git tree. Uploaded assets were downloaded and matched before publication. Checksums provide consistency, not independent publisher authentication.