some security updates
This commit is contained in:
parent
cd74c7b0d4
commit
1722c0cf66
9 changed files with 144 additions and 11 deletions
11
hosts/thinkpad/openssh.nix
Normal file
11
hosts/thinkpad/openssh.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
challengeResponseAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue