all repos — nixfiles @ 97ee50f052fbc43d0eafb487130d99ee1570a449

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

ssh: make identitiesOnly the default
Alan Pearce alan@alanpearce.eu
Tue, 25 Feb 2025 20:34:20 +0100
commit

97ee50f052fbc43d0eafb487130d99ee1570a449

parent

626f20aa5542480cefa4c883a714f788631787e8

1 files changed, 2 insertions(+), 5 deletions(-)

jump to
M user/settings/ssh.nixuser/settings/ssh.nix
@@ -1,8 +1,4 @@-{ config
-, lib
-, pkgs
-, ...
-}: {
+{ ... }: {
   programs.ssh = {
     enable = true;
     compression = true;
@@ -16,6 +12,7 @@ CanonicalizeHostname yes       CanonicalizeFallbackLocal no
       CanonicalizeMaxDots 0
       CanonicalDomains home.arpa hydra-pinecone.ts.net
+      IdentitiesOnly yes
     '';
     includes = [
       "local.ssh_config"