-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hydra queue runner doesn't automatically accept new hosts (due to default behavior in OpenSSH which is to ask for accepting the new host).
There are two ways to do that automatically:
- by setting
sshPublicHostKeywhich should be base64 encoded fingerprint line (not documented, but see commit NixOS/hydra@2a7fbd5), I will push a commit to enable setting this in NixOS - by setting
programs.ssh.extraConfig = "StrictHostKeyChecking no";inhydra-master
I chose the latter because it's a very low security tradeoff. SSH will still bail out if there is host mismatch, but it will automatically accept new hosts.
If hosts/key is hacked on first connection I think you're in trouble anyway.
Metadata
Metadata
Assignees
Labels
No labels