Skip to content

Instantly share code, notes, and snippets.

🤔
I'm sorry, Dave, I'm afraid I can't do that

Laurent Vallar Val

🤔
I'm sorry, Dave, I'm afraid I can't do that
View GitHub Profile
@lizthegrey
lizthegrey / attributes.rb
Last active Jul 2, 2020
Hardening SSH with 2fa
View attributes.rb
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
You can’t perform that action at this time.