From c2654b5d3cb7c7e1b3910be4318960f42c63df51 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 9 Jun 2024 10:16:27 +0200 Subject: ssh: use canonical forms of hostnames with single labels --- user/settings/ssh.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user') diff --git a/user/settings/ssh.nix b/user/settings/ssh.nix index f5073c8d..b7c46bba 100644 --- a/user/settings/ssh.nix +++ b/user/settings/ssh.nix @@ -12,6 +12,10 @@ serverAliveInterval = 15; extraConfig = '' VerifyHostKeyDNS ask + CanonicalizeHostname yes + CanonicalizeFallbackLocal no + CanonicalizeMaxDots 0 + CanonicalDomains home.arpa hydra-pinecone.ts.net ''; includes = [ "local.ssh_config" -- cgit 1.4.1