diff options
author | Alan Pearce | 2024-06-09 10:16:27 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-09 10:16:27 +0200 |
commit | c2654b5d3cb7c7e1b3910be4318960f42c63df51 (patch) | |
tree | 9172ab881b9c4ffa3633829bf025e10c0b33afed /user/settings | |
parent | bf7de7385f50af6f668080c83c365255c81f3782 (diff) | |
download | nixfiles-c2654b5d3cb7c7e1b3910be4318960f42c63df51.tar.lz nixfiles-c2654b5d3cb7c7e1b3910be4318960f42c63df51.tar.zst nixfiles-c2654b5d3cb7c7e1b3910be4318960f42c63df51.zip |
ssh: use canonical forms of hostnames with single labels
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/ssh.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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" |