Update ssh config of gitlab-runner

This commit is contained in:
Paul-Henri Froidmont 2022-08-05 22:24:59 +02:00
parent 5b961aa424
commit 06db507c8e
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -51,6 +51,11 @@
group = config.users.groups.gitlab-runner.name; group = config.users.groups.gitlab-runner.name;
}; };
programs.ssh.extraConfig = ''
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
'';
services = { services = {
openssh.enable = true; openssh.enable = true;
gitlab-runner = { gitlab-runner = {