Repository navigation
docs(ios023): reach a host over SSH - #1121
Merged
Merged
Conversation
kyya
added a commit
that referenced
this pull request
Nov 25, 2026
IOS-023 went to the SSH hosts doc on main (#1121).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Rex Go's Add Host refuses
ssh://addresses (HostConfig.refusal, #504): the only ways in are anhttp(s)gateway address, a tailcat pairing code and the tailnet. A machine whose only way in issshdcannot be a host. Upstream Rex's clients acceptssh://already.Change
Adds
docs/IOS-023-ssh-hosts.md, a proposal. Rex Go acceptsssh://user@host[:port][/socket]; the engine's new SSH client (golang.org/x/crypto/ssh, already in the module graph) opens adirect-streamlocalchannel to the host's Rex socket through the same loopback proxy the tailcat hosts use; the host key is trusted on first use; login is a device key in the Keychain or a password card. The semantics follow upstream Rex'sssh://(address grammar, socket discovery throughrex server status, no password in the URL); the mechanism differs, as iOS cannot spawn the systemsshthe upstream CLI uses, and an SSH client in the Go engine fits the proxy every host's traffic already crosses.Test
Docs-only change.
go run ./tools/verifychecks the doc's id, category and front matter.Verified: go run ./tools/verify: design docs passed