0
0
vps-set-up-playbook/roles/ssh/templates/sshd.conf.j2
2023-11-11 02:06:42 +08:00

11 lines
225 B
Django/Jinja

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