Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Deny SSH access to everyone but me

Discussion in 'Security' started by Homie2, Jun 30, 2014.

  1. Homie2

    Homie2 Well-Known Member

    Joined:
    Dec 16, 2004
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    How do i block ALL Ips from accessing my SSH on my server except my IP??
    Because i'm getting brute forced from SSHD
    I'm using WHM, and i have CSF Installed...


    Thanks

    Homie:D
     
  2. SS-Maddy

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    83
    Likes Received:
    1
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    You can configure it through the WHM interface WHM -> Security Center -> Host Access Control. The interface is self explanatory and is quite straight forward.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Homie2

    Homie2 Well-Known Member

    Joined:
    Dec 16, 2004
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    Thank you so much :) it works!
     
  4. SS-Maddy

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    83
    Likes Received:
    1
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Great to know that :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,629
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see that option was helpful. Note that it's documented here:

    Host Access Control

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. dto123

    dto123 Member

    Joined:
    Jun 28, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Website Owner
    Thanks also, I actually didn't even know this feature was available. I thought it would need to be done through fail2ban or something. Thanks!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice