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

Fixes #10348

Signed-off-by: Paul Scott <paul@tailscale.com>
pull/11192/head
Paul Scott 1 year ago committed by Paul Scott
parent 91a1019ee2
commit 7708ab68c0

@ -103,6 +103,7 @@ func runSSH(ctx context.Context, args []string) error {
"-o", fmt.Sprintf("UserKnownHostsFile %q", knownHostsFile), "-o", fmt.Sprintf("UserKnownHostsFile %q", knownHostsFile),
"-o", "UpdateHostKeys no", "-o", "UpdateHostKeys no",
"-o", "StrictHostKeyChecking yes", "-o", "StrictHostKeyChecking yes",
"-o", "CanonicalizeHostname no", // https://github.com/tailscale/tailscale/issues/10348
) )
// TODO(bradfitz): nc is currently broken on macOS: // TODO(bradfitz): nc is currently broken on macOS:

Loading…
Cancel
Save