Files
ansible-pull/roles/base/files/system_setup/sshd_custom.conf
2022-02-16 18:01:50 +01:00

27 lines
409 B
Plaintext

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