Disable Password authentication in SSH #9

Merged
b12f merged 1 commit from ssh-disable-password into main 2023-10-28 10:04:57 +00:00
Showing only changes of commit e0c6530d97 - Show all commits

View file

@ -59,6 +59,7 @@
virtualisation.docker.enable = true;
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "prohibit-password";
services.openssh.settings.PasswordAuthentication = false;
};
# NixOS specific configuration