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

Fixes #10348

Signed-off-by: Paul Scott <paul@tailscale.com>
This commit is contained in:
Paul Scott 2023-11-23 09:15:34 +00:00 committed by Paul Scott
parent 91a1019ee2
commit 7708ab68c0

View File

@ -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: