feat: migrate default ssh options due to option deprecation

This commit is contained in:
etwas 2025-09-04 10:02:13 +02:00
parent 0d36a6920f
commit 392b284aa4
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

@ -1,5 +1,18 @@
{ {
programs.ssh = { programs.ssh = {
enable = true; 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";
};
}; };
} }