Disable openssh password auth
This commit is contained in:
parent
5de98e93e2
commit
b59053bc18
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue