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
161
161
162
162
# Disable forwarding tcp connections.
163
163
# 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' ) %>
165
165
166
166
# Disable agent formwarding, since local agent could be accessed through forwarded connection.
167
167
# 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' ) %>
169
169
170
170
# Do not allow remote port forwardings to bind to non-loopback addresses.
171
171
GatewayPorts no
172
172
173
173
# 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' ) %>
175
175
X11UseLocalhost yes
176
176
177
177
You can’t perform that action at this time.
0 commit comments