added remotebuilder public key

This commit is contained in:
Sam 2025-01-20 23:27:51 +00:00
parent 4c98876b31
commit c156ef427e

View file

@ -20,12 +20,11 @@ in
}
];
# TODO: set known host here when have static ip on main server
# programs.ssh.knownHosts = {
# "merlin" = {
# publicKey = "server pubkey";
# };
# };
programs.ssh.knownHosts = {
"merlin" = {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFSGyrQvwa7gj0tG/EX3siWzGT9badUkD0yw0YGkcNeQ root@merlin";
};
};
programs.ssh.extraConfig = ''
Host ${remoteMachineIp}