0
0
vps-set-up-playbook/roles/ssh/templates/sshd.conf.j2

12 lines
234 B
Plaintext
Raw Normal View History

2023-11-11 02:06:42 +08:00
# {{ ansible_managed }}
Port {{ ssh_port }}
PermitRootLogin no
PasswordAuthentication no
AddressFamily inet
ChallengeResponseAuthentication no
2024-10-29 18:05:22 +08:00
AllowUsers {{ ansible_user }}
2023-11-11 02:06:42 +08:00
KbdInteractiveAuthentication no
UsePAM yes
2024-10-29 18:05:22 +08:00
X11Forwarding no