13 lines
290 B
Nix
13 lines
290 B
Nix
{ ... }:
|
|
{
|
|
services.openssh.enable = true;
|
|
services.openssh.settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
AllowTcpForwarding = "no";
|
|
X11Forwarding = false;
|
|
UseDns = false;
|
|
MaxAuthTries = 3;
|
|
};
|
|
}
|