Files
ansible-pull/roles/base/files/system_setup/sshd_custom.conf
2025-02-11 12:49:06 +01:00

28 lines
415 B
Plaintext

PermitRootLogin prohibit-password
MaxAuthTries 3
PubkeyAuthentication yes
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding no
PrintMotd no
PrintLastLog no
AllowUsers rene root
Match Address 192.168.1.240
AllowUsers root rene
Match User root
PasswordAuthentication no
Match User rene
PasswordAuthentication no
Match Host *
MaxAuthTries 1