The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    0
    Trophy Points:
    6
    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.
     
  3. Homie2

    Homie2 Well-Known Member

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

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Great to know that :D
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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