Disable openssh password auth

This commit is contained in:
GHOSCHT 2024-03-03 13:08:46 +01:00
parent 5de98e93e2
commit b59053bc18
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -49,8 +49,8 @@ in {
services.openssh = {
enable = true;
settings.PasswordAuthentication = true;
settings.KbdInteractiveAuthentication = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion