bucur/modules/services/openssh.nix

14 lines
290 B
Nix
Raw Normal View History

2026-02-05 17:57:02 +02:00
{ ... }:
{
services.openssh.enable = true;
services.openssh.settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
AllowTcpForwarding = "no";
X11Forwarding = false;
UseDns = false;
MaxAuthTries = 3;
};
}