This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
11
modules/ssh.nix
Normal file
11
modules/ssh.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue