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 = { settings = {
LogLevel = "VERBOSE"; # Used for fail2ban monitoring LogLevel = "VERBOSE"; # Used for fail2ban monitoring
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = true; # Set this to false when keys are configured PasswordAuthentication = false;
}; };
banner = '' banner = ''
-- --