While I’m instructed to enable one package on WHM/Cpanel hosted servers, the login which I given was not working. I have verified that root password not been changed for a long time. Fortuantely I had set ssh file wise authentication on that server and hence I could able to access the server now.
I reset the password forcefully the same one which was set earlier. Unfortunately i can’t still not able to login to the server neither on ssh nor WHM url. So I’m currently locked out !!
The firewall program “cPHulk Brute Force Protection” was enabled on the server which added our ip in blacklist. That’s why it’s rejecting all the access.
a. You may need to wait the blocking time is to expire. or try to access the server from different network
b. If you already connected to the server, you may need to flush out/truncate the tables brutes and logins from cphulkd mysql database. This is the only work around I found working.
mysql> delete from brutes;
Query OK, 553 rows affected (0.00 sec)
mysql> delete from logins;
Query OK, 8 rows affected (0.00 sec)
Now you may see the logins are working perfectly after this done. Since I have few public IP’s and I do not want to happen this issue later, I, going to add our IP whitelisted in CPhulk application. See the below screen,