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!

SOLVED Block ssh, can't access

Discussion in 'Security' started by Angel Castro, Jul 17, 2018.

  1. Angel Castro

    Angel Castro Active Member

    Joined:
    Jul 16, 2018
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Aguascalientes, México
    cPanel Access Level:
    Root Administrator
    HI!
    I modify sshd_config and cant access.
    I Modify the AllowUsers.

    I'm worried.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The docs should be of some use to you:
    How to Secure SSH - cPanel Knowledge Base - cPanel Documentation

    Code:
    Warning:
    
    If you accidentally misconfigure your SSH configuration file, navigate to the following link in your web browser (where example.com represents the server's hostname or main IP address):
    
    https://example.com:2087/scripts2/doautofixer?autofix=safesshrestart
    
    This script attempt to will temporarily configure an additional SSH configuration file for port 22, which will allow you to access, edit, and fix the original SSH configuration file. If another service or daemon uses port 22, the script will configure an additional SSH configuration file for port 23.
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Angel Castro likes this.
  3. Angel Castro

    Angel Castro Active Member

    Joined:
    Jul 16, 2018
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Aguascalientes, México
    cPanel Access Level:
    Root Administrator
    That worked, you saved my life, thank you very much.
     
    Infopro likes this.
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not me, cPanel. :)

    Happy to help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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