Use ControlMaster for repohost
This commit is contained in:
parent
913f94af3c
commit
eb5ffeeec4
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,7 @@ in
|
|||
programs.ssh = {
|
||||
enable = true;
|
||||
hashKnownHosts = true;
|
||||
controlPath = "~/.ssh/master-%r@%n:%p";
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
identityFile = if var.workSystem then horusKey else personalKey;
|
||||
|
@ -77,6 +78,10 @@ in
|
|||
|
||||
"repohost.bedum.horus.nu" = {
|
||||
forwardAgent = true;
|
||||
extraOptions = {
|
||||
ControlMaster = "auto";
|
||||
ControlPersist = "10m";
|
||||
};
|
||||
};
|
||||
|
||||
"gitea.bedum.horus.nu" = {
|
||||
|
|
Loading…
Reference in a new issue