Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
client['cbc_required'] = false
client['weak_hmac'] = false
client['weak_kex'] = false
client['allow_agent_forwarding'] = false
client['remote_hosts'] = []
client['password_authentication'] = false # ssh
# http://undeadly.org/cgi?action=article&sid=20160114142733
Expand Down
2 changes: 1 addition & 1 deletion templates/default/openssh.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ KexAlgorithms <%= @kex %>


# Disable agent formwarding, since local agent could be accessed through forwarded connection.
ForwardAgent no
ForwardAgent <%= ((@node['ssh-hardening']['ssh']['client']['allow_agent_forwarding']) ? 'yes' : 'no' ) %>

# Disable X11 forwarding, since local X11 display could be accessed through forwarded connection.
ForwardX11 no
Expand Down