Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/tailscale/cli: pass "-o 'CanonicalizeHostname no'" to ssh #10368

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

icio
Copy link
Contributor

@icio icio commented Nov 23, 2023

Given that we're already passing the fully-qualified domain to ssh and have written the ssh_known_hosts ourselves, I think we can disable this option which breaks tailscale ssh.

Fixes #10348


I originally started with attempting to canonicalise the hostname ourselves but I'm not certain I know all transformations involved beyond trimming the final "." from the DNS name (played with in #10342).

Fixes #10348

Signed-off-by: Paul Scott <paul@tailscale.com>
@icio icio merged commit 7708ab6 into main Feb 21, 2024
46 checks passed
@icio icio deleted the icio/ssh-no-canonicalize-hostnames branch February 21, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tailscale ssh: always fails if CanonicalizeHostname enabled in config
2 participants