remove "parts" directory and restructure modules
This commit is contained in:
parent
4b26b8da52
commit
f2cf7d36de
19 changed files with 77 additions and 117 deletions
14
modules/hardened-ssh-server.nix
Normal file
14
modules/hardened-ssh-server.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
AuthenticationMethods = "publickey";
|
||||
PubkeyAuthentication = "yes";
|
||||
ChallengeResponseAuthentication = "no";
|
||||
X11Forwarding = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue