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!

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:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    linux4me2 likes this.
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    978
    Likes Received:
    40
    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

  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