openssh: disable password authentication

This commit is contained in:
Sandro - 2023-05-04 19:05:47 +02:00
parent 162ed715e5
commit 070c9d9b47
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@
banner = ''
See https://gitea.c3d2.de/c3d2/nix-config for configuration and documentation
'';
passwordAuthentication = false;
permitRootLogin = "prohibit-password";
};