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 = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = true;
|
settings.PasswordAuthentication = false;
|
||||||
settings.KbdInteractiveAuthentication = true;
|
settings.KbdInteractiveAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
|
|
Loading…
Reference in a new issue