Simplify SSH config, standardize filesystems enabling
This commit is contained in:
parent
a25bcecf7b
commit
c6ead08127
2 changed files with 6 additions and 7 deletions
|
@ -5,10 +5,10 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = lib.mkForce "no";
|
||||
PrintLastLog = "no";
|
||||
PasswordAuthentication = false;
|
||||
AllowGroups = [ "users" ];
|
||||
AuthenticationMethods = "publickey";
|
||||
PermitEmptyPasswords = true;
|
||||
PrintLastLog = "no";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue