Why you don't use sshd_config with option "AllowUsers noroot" so the "root" user can't access ssh only user "noroot"
I don't want to disable root SSH login.
or "AllowUsers
[email protected]" only allow user "noroot" fom ip "xx.xx.xx.xx" to connect via ssh.
I want to allow access from multiple IP, example, home, office. Also you can restart SSH to default configuration through WHM. So whatever you do in sshd_config won't protect you if hacker have WHM root access.
What i want to do is secure SSH access even if hacker got root access to WHM.
If we can disable Host Access Control feature in WHM, even with root password, hacker won't be able to login to SSH.
Lets consider recent mass hacking
http://forums.cpanel.net/f185/sshd-rootkit-323962.html
Hacker got root password from Cpanel helpdesk. Lets say i open support ticket with Cpanel.net with root password. Hacker read the ticket, collect root password and started hacking my server. Hacker tried to login to SSH, he can't, because i restrict access with /etc/hosts.allow/deny and a non standard port. Hacker login to WHM. Restart SSH with default configuration. Remove rules from WHM > Security > Access Control. How he got SSH access, now they can install libkeyutils.so.9 and start sending spam mails.