Skip to content

Commit

Permalink
cmd/tailscale/cli: pass "-o 'CanonicalizeHostname no'" to ssh
Browse files Browse the repository at this point in the history
Fixes tailscale#10348

Signed-off-by: Paul Scott <paul@tailscale.com>
  • Loading branch information
icio committed Feb 21, 2024
1 parent 91a1019 commit 7708ab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/tailscale/cli/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7708ab6

Please sign in to comment.