Skip to content

Instantly share code, notes, and snippets.

@tomrgio
Created June 19, 2018 13:00
Show Gist options
  • Save tomrgio/b4457a4d382334389a7996f693b9a0a6 to your computer and use it in GitHub Desktop.
Save tomrgio/b4457a4d382334389a7996f693b9a0a6 to your computer and use it in GitHub Desktop.
file '/etc/issue.net' do
content 'SUPER SECURE BANNER'
end
node.default['ssh-hardening']['ssh']['server']['banner'] = '/etc/issue.net'
node.default['ssh-hardening']['ssh']['server']['challenge_response_authentication'] = true
node.default['ssh-hardening']['ssh']['server']['password_authentication'] = true
include_recipe 'ssh-hardening'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment