Fix SSH for remote builder
This commit is contained in:
parent
3b5c9fac28
commit
de6ae7023c
|
|
@ -32,11 +32,12 @@
|
||||||
knownHosts = {
|
knownHosts = {
|
||||||
cspark-desktop-nixremotebuilder = {
|
cspark-desktop-nixremotebuilder = {
|
||||||
extraHostNames = [ "cspark-nixos-desktop" "192.168.1.110" ];
|
extraHostNames = [ "cspark-nixos-desktop" "192.168.1.110" ];
|
||||||
publicKeyFile = ./resources/nixos/.ssh/cspark-desktop-nixremotebuilder.pub;
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWWfMZhdSKiUZZU1Pl7Hp6+BKHhWswLNmngLDzzMsGl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
Host cspark-desktop-nixremotebuilder
|
Host cspark-desktop-nixremotebuilder
|
||||||
|
Hostname 192.168.1.110
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
IdentityFile /root/.ssh/cspark-desktop-nixremotebuilder
|
IdentityFile /root/.ssh/cspark-desktop-nixremotebuilder
|
||||||
# The weakly privileged user on the remote builder – if not set, 'root' is used – which will hopefully fail
|
# The weakly privileged user on the remote builder – if not set, 'root' is used – which will hopefully fail
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue