You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
AddressFamily {{ 'any' if network_ipv6_enable else 'inet' }}
25
21
26
22
# Define which addresses sshd should listen to. Default to `0.0.0.0`, ie make sure you put your desired address in here, since otherwise sshd will listen to everyone.
27
23
{%foraddressinssh_listen_to -%}
@@ -138,7 +134,7 @@ IgnoreUserKnownHosts yes
138
134
HostbasedAuthentication no
139
135
140
136
# Enable PAM to enforce system wide rules
141
-
UsePAM {%ifssh_use_pam-%}yes{%else%}no{%endif%}
137
+
UsePAM {{ 'yes' if ssh_use_pam else 'no' }}
142
138
143
139
# Disable password-based authentication, it can allow for potentially easier brute-force attacks.
0 commit comments