disable ssh password auth

This commit is contained in:
janis 2025-11-18 18:05:51 +01:00
parent 3df732b793
commit e5379891a5
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8

View file

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