Skip to main content

Add IP to Host Access Control using SSH

Comments

4 comments

  • petru
    Solution to the Problem: Vi in to /etc/hosts.allow and edit the file with your new IP Address. Then save it and you can login. Google Vi commands to find out how to use Vi editor.
    0
  • cPanelMichael
    Hello :) Yes, the rules configured in the "Host Access Control" option of WHM are stored in the /etc/hosts.allow file. I am happy to see you were able to resolve the issue. Thank you.
    0
  • myDesignGraphic
    Hello, What do you do when you enter /etc/hosts.allow and then it says, -bash: /etc/hosts.allow: Permission denied ? Thanks, Vic
    0
  • cPanelMichael
    Hello :) "/etc/hosts.allow" is the path to a file name, not a command. You have to use an editor such as "vi". EX: vi /etc/hosts.allow
    Thank you.
    0

Please sign in to leave a comment.