From 756341ea4cfdb53db17ca51759ae30a609e620aa Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Fri, 12 Jul 2024 21:57:04 +0200 Subject: [PATCH] builders: tune sshd MaxStartups to avoid rate limiting Hydra --- services/baremetal-builder/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/baremetal-builder/default.nix b/services/baremetal-builder/default.nix index 6734bcc..72443b3 100644 --- a/services/baremetal-builder/default.nix +++ b/services/baremetal-builder/default.nix @@ -105,6 +105,12 @@ in services.resolved.enable = false; networking.resolvconf.useLocalResolver = true; + # Hydra blasts ssh connections and does not multiplex. Loosen some of the + # rate limiting. + services.openssh.settings = { + MaxStartups = "500:30:1000"; + }; + bagel.sysadmin.enable = true;