Fix SSH for remote builder

This commit is contained in:
Curt Spark 2025-05-14 16:58:51 +01:00
parent 3b5c9fac28
commit de6ae7023c
1 changed files with 2 additions and 1 deletions

View File

@ -32,11 +32,12 @@
knownHosts = {
cspark-desktop-nixremotebuilder = {
extraHostNames = [ "cspark-nixos-desktop" "192.168.1.110" ];
publicKeyFile = ./resources/nixos/.ssh/cspark-desktop-nixremotebuilder.pub;
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWWfMZhdSKiUZZU1Pl7Hp6+BKHhWswLNmngLDzzMsGl";
};
};
extraConfig = ''
Host cspark-desktop-nixremotebuilder
Hostname 192.168.1.110
IdentitiesOnly yes
IdentityFile /root/.ssh/cspark-desktop-nixremotebuilder
# The weakly privileged user on the remote builder if not set, 'root' is used which will hopefully fail