Set-OPS-Public/roles/ssh_baseline/templates/10-setops.conf.j2

14 lines
435 B
Django/Jinja

# Managed by Ansible — Set-OPS
PermitRootLogin {{ ssh_baseline_permit_root_login }}
PubkeyAuthentication {{ ssh_baseline_pubkey_authentication }}
PasswordAuthentication {{ ssh_baseline_password_authentication }}
AuthenticationMethods publickey
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
PermitEmptyPasswords no
HostbasedAuthentication no
IgnoreRhosts yes
X11Forwarding no
PermitUserEnvironment no
UsePAM yes