From f3679d8f347d50a2102a39fc37c07b225fbaddd8 Mon Sep 17 00:00:00 2001 From: Goldstein Date: Sun, 28 Jul 2024 10:17:26 +0000 Subject: [PATCH] fix ssh bug --- modules/metal/security.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/metal/security.nix b/modules/metal/security.nix index c5bdfff..3c4a6b7 100644 --- a/modules/metal/security.nix +++ b/modules/metal/security.nix @@ -7,8 +7,11 @@ openssh = { enable = true; ports = [ 7643 ]; - settings.GatewayPorts = "clientspecified"; authorizedKeysFiles = pkgs.lib.mkForce [ "/etc/ssh/authorized_keys.d/%u" ]; + settings = { + GatewayPorts = "clientspecified"; + LoginGraceTime = 0; + }; }; btrbk.sshAccess = [{