all repos — nixfiles @ c2654b5d3cb7c7e1b3910be4318960f42c63df51

System and user configuration, managed by nix and home-manager

ssh: use canonical forms of hostnames with single labels
Alan Pearce alan@alanpearce.eu
Sun, 09 Jun 2024 10:16:27 +0200
commit

c2654b5d3cb7c7e1b3910be4318960f42c63df51

parent

bf7de7385f50af6f668080c83c365255c81f3782

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M user/settings/ssh.nixuser/settings/ssh.nix
@@ -12,6 +12,10 @@ hashKnownHosts = true;     serverAliveInterval = 15;
     extraConfig = ''
       VerifyHostKeyDNS ask
+      CanonicalizeHostname yes
+      CanonicalizeFallbackLocal no
+      CanonicalizeMaxDots 0
+      CanonicalDomains home.arpa hydra-pinecone.ts.net
     '';
     includes = [
       "local.ssh_config"