distributed builds: fix ssh only accepting build key
This commit is contained in:
parent
cf98cb7880
commit
ceeec5be41
1 changed files with 1 additions and 2 deletions
|
|
@ -103,8 +103,7 @@ in
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
knownHosts = buildServerKnownHosts;
|
knownHosts = buildServerKnownHosts;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
Host ${lib.concatStringsSep " " (lib.attrNames buildServerDevices)}
|
Match Host ${lib.concatStringsSep " " (lib.attrNames buildServerDevices)} User ${buildUser}
|
||||||
User ${buildUser}
|
|
||||||
IdentityFile ${clientSshKeyPath}
|
IdentityFile ${clientSshKeyPath}
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue