Use programs.ssh.settings for Home Manager

This commit is contained in:
2026-05-22 20:01:32 -07:00
parent bf71d0ee39
commit dde547f694

View File

@@ -304,18 +304,18 @@ in {
extraConfig = '' extraConfig = ''
Include /home/imalison/config/dotfiles/ssh/config Include /home/imalison/config/dotfiles/ssh/config
''; '';
matchBlocks = { settings = {
"*" = { "*" = {
forwardAgent = true; ForwardAgent = true;
addKeysToAgent = "no"; AddKeysToAgent = "no";
compression = false; Compression = false;
serverAliveInterval = 0; ServerAliveInterval = 0;
serverAliveCountMax = 3; ServerAliveCountMax = 3;
hashKnownHosts = false; HashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts"; UserKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no"; ControlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p"; ControlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no"; ControlPersist = "no";
}; };
}; };
}; };