nixos: Harden ssh a bit
This commit is contained in:
parent
c35c48911b
commit
cb1f090b97
1 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
{
|
{
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
passwordAuthentication = false;
|
||||||
|
kbdInteractiveAuthentication = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue