disable ssh password auth

This commit is contained in:
janis 2025-11-06 10:53:55 +01:00
parent 87fbe0cc1b
commit 0f90609498
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8

View file

@ -191,7 +191,7 @@
openssh = {
enable = true;
settings = {
PasswordAuthentication = true; # Enable password authentication.
PasswordAuthentication = false; # Enable password authentication.
PermitRootLogin = "yes"; # Allow root login (not recommended for production).
};
};