Set PermitRootLogin as a default value
This commit is contained in:
parent
0a2c3d46e0
commit
fb2f410e89
1 changed files with 17 additions and 13 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
|
@ -11,7 +15,7 @@
|
||||||
AllowUsers = null; # everyone
|
AllowUsers = null; # everyone
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = lib.mkDefault "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue