2023-05-05 13:29:39 +01:00
|
|
|
{ ... }:
|
2023-04-23 14:46:59 +01:00
|
|
|
{
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
forwardAgent = true;
|
|
|
|
serverAliveInterval = 15;
|
|
|
|
serverAliveCountMax = 3;
|
|
|
|
controlMaster = "auto";
|
2023-04-24 13:27:55 +01:00
|
|
|
controlPersist = "1s";
|
2023-05-16 11:04:48 +01:00
|
|
|
matchBlocks = {
|
|
|
|
"git.*".user = "git";
|
|
|
|
"xenia.me.uk" = { user = "git"; port = 2222; };
|
|
|
|
};
|
2023-04-23 14:46:59 +01:00
|
|
|
};
|
|
|
|
}
|