disable pw login sshd

This commit is contained in:
stubbfel
2017-11-23 21:21:54 +01:00
parent 84646fd218
commit ad8425b954
2 changed files with 2 additions and 1 deletions

View File

@@ -3,5 +3,6 @@
{
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.challengeResponseAuthentication = false;
services.openssh.permitRootLogin = "no";
}