From a4acc43150d3315d21578e3bfb7290fa2c34f1ac Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 28 Sep 2026 10:56:55 +0200 Subject: ... --- users/gkleen/default.nix | 24 ++++++++++++------------ users/root.nix | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) (limited to 'users') diff --git a/users/gkleen/default.nix b/users/gkleen/default.nix index 9aa3b632..66930d4e 100644 --- a/users/gkleen/default.nix +++ b/users/gkleen/default.nix @@ -80,20 +80,20 @@ in { }; ssh = { enableDefaultConfig = false; - matchBlocks."*" = { - forwardAgent = false; - addKeysToAgent = "no"; - compression = false; - userKnownHostsFile = "~/.ssh/known_hosts"; + settings."*" = { + ForwardAgent = false; + AddKeysToAgent = "no"; + Compression = false; + UserKnownHostsFile = "~/.ssh/known_hosts"; - # controlMaster = "auto"; - # controlPersist = "30m"; - # controlPath = "~/.ssh/master-%r@%n:%p"; + # ControlMaster = "auto"; + # ControlPersist = "30m"; + # ControlPath = "~/.ssh/master-%r@%n:%p"; - serverAliveInterval = 6; - serverAliveCountMax = 10; - hashKnownHosts = true; - identitiesOnly = true; + ServerAliveInterval = 6; + ServerAliveCountMax = 10; + HashKnownHosts = true; + IdentitiesOnly = true; }; }; }; diff --git a/users/root.nix b/users/root.nix index a56c3c51..15dcd687 100644 --- a/users/root.nix +++ b/users/root.nix @@ -80,20 +80,20 @@ in { }; ssh = { enableDefaultConfig = false; - matchBlocks."*" = { - forwardAgent = false; - addKeysToAgent = "no"; - compression = false; - userKnownHostsFile = "~/.ssh/known_hosts"; + settings."*" = { + ForwardAgent = false; + AddKeysToAgent = "no"; + Compression = false; + UserKnownHostsFile = "~/.ssh/known_hosts"; - # controlMaster = "auto"; - # controlPersist = "30m"; - # controlPath = "~/.ssh/master-%r@%n:%p"; + # ControlMaster = "auto"; + # ControlPersist = "30m"; + # ControlPath = "~/.ssh/master-%r@%n:%p"; - serverAliveInterval = 6; - serverAliveCountMax = 10; - hashKnownHosts = true; - identitiesOnly = true; + ServerAliveInterval = 6; + ServerAliveCountMax = 10; + HashKnownHosts = true; + IdentitiesOnly = true; }; }; }; -- cgit v1.2.3