Disable ssh password auth

This commit is contained in:
Tristan D. 2023-11-04 01:17:25 +01:00
parent 8caa0b5998
commit f762ec14cd
Signed by: tristan
SSH key fingerprint: SHA256:3RU4RLOoM8oAjFU19f1W6t8uouZbA7GWkaSW6rjp1k8

View file

@ -75,7 +75,11 @@
envfs.enable = true;
openssh.enable = true;
openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
gvfs.enable = true;
avahi.enable = true;