settings for openssh

This commit is contained in:
iFargle 2023-07-04 15:32:33 +09:00
parent 5d8aee7e50
commit 8fd0ef1397

View file

@ -2,8 +2,8 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
settings.permitRootLogin = "no"; settings.PermitRootLogin = "no";
settings.passwordAuthentication = "true"; # Set this to false when keys are configured settings.PasswordAuthentication = "true"; # Set this to false when keys are configured
banner = '' banner = ''
You are accessing a U.S. Government (USG) Information You are accessing a U.S. Government (USG) Information
System (IS) that is provided for USG-authorized use only. System (IS) that is provided for USG-authorized use only.