Repository navigation
hqsh 0.3.0: Tailscale routing (--tailscale auto|on|off) - #5
Merged
Merged
Conversation
…ale auto|on|off) When Tailscale is running here and the host matches an online peer (machine name, MagicDNS name, tailnet IP, or what the ssh alias resolves to), ssh gets -o HostName=<tailnet IP> and -o HostKeyAlias=<the real host>, so ssh config still supplies user, port and keys and known_hosts still applies. A first connection that fails over the tailnet falls back to the normal route; reconnects alternate between the two unless --tailscale on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Anthony: "it needs to support tailscale optional (if detected)". Also bumps to 0.3.0, the release with #3 (systemd/launchd) and #4 (Windows).
--tailscale auto|on|off(-t,--tailscale=, or$HQSH_TAILSCALE; default auto).tailscale status --jsonreports Running and the host matches an online peer (machine name, MagicDNS name, tailnet IP, or whatssh -Gresolves the alias to), ssh gets-o HostName=<tailnet IPv4>and-o HostKeyAlias=<real host>. ssh config still supplies user, port and keys, and known_hosts still applies.onrequires the tailnet and errors clearly when Tailscale is not running or the host is not a peer.Tests
NeedsLogin):autostays quiet, and--tailscale onfails with "Tailscale is not running here".🤖 Generated with Claude Code