services.openssh.settings.PasswordAuthentication = false

This commit is contained in:
iFargle 2023-08-25 19:56:29 +09:00
parent 56e2664fb8
commit 1e6d2216ba

View file

@ -6,7 +6,7 @@
settings = {
LogLevel = "VERBOSE"; # Used for fail2ban monitoring
PermitRootLogin = "no";
PasswordAuthentication = true; # Set this to false when keys are configured
PasswordAuthentication = false;
};
banner = ''
--