mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-21 02:57:35 -04:00
The test control server always listened on 127.0.0.1:9911, which is useless for a node in a VM on the same machine. --addr picks the listen address; the DERP and STUN servers follow it. --ssh-policy loads a tailcfg.SSHPolicy from a JSON or HuJSON file and sends it to every node, which also grants them the SSH node capability so that "tailscale up --ssh" is accepted. That is what testcontrol.Server already supported for tests; this exposes it for manual testing of the Tailscale SSH server. Updates tailscale/corp#47865 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Change-Id: I2b7c4e9f1a3d5c6e8b0f2a4d6c8e1b3f5a7d9c0e