We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829c1d8 commit 4317dffCopy full SHA for 4317dff
roles/ssh_hardening/templates/opensshd.conf.j2
@@ -206,7 +206,7 @@ ClientAliveInterval {{ ssh_client_alive_interval }}
206
ClientAliveCountMax {{ ssh_client_alive_count }}
207
208
# Disable tunneling
209
-PermitTunnel {{ ssh_permit_tunnel }}
+PermitTunnel {{ 'yes' if (ssh_permit_tunnel|bool) else 'no' }}
210
211
# Disable forwarding tcp connections.
212
# no real advantage without denied shell access
0 commit comments