From 7708ab68c0f2a5f76e01646177ed6e84041c55f8 Mon Sep 17 00:00:00 2001 From: Paul Scott Date: Thu, 23 Nov 2023 09:15:34 +0000 Subject: [PATCH] cmd/tailscale/cli: pass "-o 'CanonicalizeHostname no'" to ssh Fixes #10348 Signed-off-by: Paul Scott --- cmd/tailscale/cli/ssh.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/tailscale/cli/ssh.go b/cmd/tailscale/cli/ssh.go index 4ba2b3d42..60a8db7eb 100644 --- a/cmd/tailscale/cli/ssh.go +++ b/cmd/tailscale/cli/ssh.go @@ -103,6 +103,7 @@ func runSSH(ctx context.Context, args []string) error { "-o", fmt.Sprintf("UserKnownHostsFile %q", knownHostsFile), "-o", "UpdateHostKeys no", "-o", "StrictHostKeyChecking yes", + "-o", "CanonicalizeHostname no", // https://github.com/tailscale/tailscale/issues/10348 ) // TODO(bradfitz): nc is currently broken on macOS: