treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
d159232b37
commit
e4e1b03c7e
160 changed files with 3408 additions and 5474 deletions
20
s0mev1rtn0de-nix/services/openssh.nix
Normal file
20
s0mev1rtn0de-nix/services/openssh.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{...}: {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
PrintMotd = false;
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
MaxAuthTries = 3;
|
||||
LoginGraceTime = 10;
|
||||
PermitEmptyPasswords = "no";
|
||||
ChallengeResponseAuthentication = "no";
|
||||
KerberosAuthentication = "no";
|
||||
GSSAPIAuthentication = "no";
|
||||
X11Forwarding = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue