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.

Prevent login attempts to SSH?

Discussion in 'Security' started by Markigiani, Jan 18, 2017.

Tags:
  1. Markigiani

    Markigiani Member

    Joined:
    Dec 27, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    My firewall keeps sending me emails of blocked login attempts via SSH.

    Hackers trying to login with stupid usernames: squid,guest,etc...
    But now and then root login was blocked, so I guess those are automated attacks??
    Is there anyway to prevent them of even trying??
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    linux4me2 likes this.
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    875
    Likes Received:
    25
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    Move SSH login to another port and close port 22.
    Use Host Access Control and limit SSH to only a handfull of IP's (use a subnet range if your IP is dydnamic)
    Install CSF firewall
     
Loading...

Share This Page