Skip to content

Instantly share code, notes, and snippets.

View alexiasa's full-sized avatar
😈
probably breaking something

Alexia Saloné alexiasa

😈
probably breaking something
View GitHub Profile
@lizthegrey
lizthegrey / attributes.rb
Last active November 1, 2026 22:19
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'