home/ssh: disable persistent sockets, manually specify defaults

This commit is contained in:
2026-02-20 15:21:36 +09:00
parent ecd71b180c
commit 7ea25a1bed
+11 -1
View File
@@ -23,9 +23,19 @@ in
"${config.home.homeDirectory}/.ssh/mutable_config"
];
enableDefaultConfig = false;
matchBlocks."*" = {
forwardAgent = false;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
# controlPersist = "10m";
controlPersist = "no";
controlMaster = "auto";
controlPersist = "10m";
controlPath = "${controlMastersDir}/%n%C";
};
};