Skip to content

Commit

Permalink
fix ssh bug
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldsteinE committed Jul 28, 2024
1 parent 32af22d commit f3679d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/metal/security.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [{
Expand Down

0 comments on commit f3679d8

Please sign in to comment.