#1. Block An IP Address from SSH
- First of all, log into your SSH as a root.
- Enter the below command.
/scripts/cphulkdblacklist 180.156.169.4
Note: Replace the dummy IP Address with the IP Address you want to blacklist.
*To execute the command cphulkd should be anabled from WHM.
- You’ll receive the following result.
[root@test ~]# /scripts/cphulkdblacklist 180.156.169.4 180.156.169.4 has been blacklisted
#2. Unblock An IP Address from SSH
- Again, log into the SSH as a root user.
- Execute the following command.
/scripts/cphulkdwhitelist 180.156.169.4
- The result will appear as:
[root@test ~]# /scripts/cphulkdwhitelist 180.156.169.4 180.156.169.4 has been whitelistedCheck the blog to get the detailed information.