/etc/ssh/sshd_config.d/custom.conf
PermitRootLogin prohibit-password
PubkeyAuthentication yes
PasswordAuthentication yes
KbdInteractiveAuthentication no
ClientAliveInterval 0
ClientAliveCountMax 3
PermitRootLogin prohibit-password
PubkeyAuthentication yes
PasswordAuthentication yes
KbdInteractiveAuthentication no
ClientAliveInterval 0
ClientAliveCountMax 3