Files
ansible-pull/roles/base/files/system_setup/sshd_custom.conf
René Mewißen f9ca395465 add option
2025-02-10 23:33:26 +01:00

30 lines
437 B
Plaintext

VerifyHostKeyDNS ask
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