0
0
vps-set-up-playbook/roles/ssh/templates/sshd.conf.j2
2024-11-02 13:38:11 +08:00

12 lines
234 B
Django/Jinja

# {{ ansible_managed }}
Port {{ ssh_port }}
PermitRootLogin no
PasswordAuthentication no
AddressFamily inet
ChallengeResponseAuthentication no
AllowUsers {{ ansible_user }}
KbdInteractiveAuthentication no
UsePAM yes
X11Forwarding no