File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,17 +161,17 @@ PermitTunnel no
161161
162162# Disable forwarding tcp connections.
163163# no real advantage without denied shell access
164- AllowTcpForwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_tcp_forwarding']) ? 'yes' : 'no' ) %>
164+ AllowTcpForwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_tcp_forwarding']) ? 'yes' : 'no' ) %>
165165
166166# Disable agent formwarding, since local agent could be accessed through forwarded connection.
167167# no real advantage without denied shell access
168- AllowAgentForwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_agent_forwarding']) ? 'yes' : 'no' ) %>
168+ AllowAgentForwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_agent_forwarding']) ? 'yes' : 'no' ) %>
169169
170170# Do not allow remote port forwardings to bind to non-loopback addresses.
171171GatewayPorts no
172172
173173# Disable X11 forwarding, since local X11 display could be accessed through forwarded connection.
174- X11Forwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_x11_forwarding']) ? 'yes' : 'no' ) %>
174+ X11Forwarding <%= ((@node['ssh-hardening']['ssh']['server']['allow_x11_forwarding']) ? 'yes' : 'no' ) %>
175175X11UseLocalhost yes
176176
177177
You can’t perform that action at this time.
0 commit comments