I have following code in my ssh /etc/ssh/sshd_config file to allow our internal network to use password authentication.
However, the new cpanel update added following line to the bottom of /etc/ssh/sshd_config file which caused SSHD down because the "Match address" has to be on the bottom of the sshd config file. I've manually moved the "Match address" part to the bottom to fix the issue. I am wondering how to prevent this issue?
Match address 192.168.1.0/24 PasswordAuthentication yes
DenyGroups cpaneldemo cpanelsuspended