forked from the-distro/infra
builders: tune sshd MaxStartups to avoid rate limiting Hydra
This commit is contained in:
parent
e6ead602f0
commit
756341ea4c
|
@ -105,6 +105,12 @@ in
|
||||||
services.resolved.enable = false;
|
services.resolved.enable = false;
|
||||||
networking.resolvconf.useLocalResolver = true;
|
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;
|
bagel.sysadmin.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue