controlpersist

This commit is contained in:
Sridhar Ratnakumar 2026-03-23 20:50:31 -04:00
parent e1455cbd20
commit f6bd6847c4
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ ... }:
let
controlMasterOpts = {
ControlMaster = "auto";
ControlPath = "~/.ssh/sockets/%r@%h-%p";
ControlPersist = "900";
};
in
{
programs.ssh.matchBlocks = {
"pureintent".extraOptions = controlMasterOpts;
"sincereintent".extraOptions = controlMasterOpts;
"zest".extraOptions = controlMasterOpts;
};
}