From 392b284aa4f66b178e943d49fa7a8572f7fcf3d2 Mon Sep 17 00:00:00 2001 From: etwas Date: Thu, 4 Sep 2025 10:02:13 +0200 Subject: [PATCH] feat: migrate default ssh options due to option deprecation --- home/essentials/ssh.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home/essentials/ssh.nix b/home/essentials/ssh.nix index 929cc51..f271e13 100644 --- a/home/essentials/ssh.nix +++ b/home/essentials/ssh.nix @@ -1,5 +1,18 @@ { programs.ssh = { enable = true; + + programs.ssh.matchBlocks."*" = { + forwardAgent = false; + addKeysToAgent = "no"; + compression = false; + serverAliveInterval = 0; + serverAliveCountMax = 3; + hashKnownHosts = false; + userKnownHostsFile = "~/.ssh/known_hosts"; + controlMaster = "no"; + controlPath = "~/.ssh/master-%r@%n:%p"; + controlPersist = "no"; + }; }; }