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.

ssh configuration via WHM

Discussion in 'General Discussion' started by classical, Apr 9, 2011.

  1. classical

    classical Active Member

    Joined:
    Dec 16, 2010
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hey guys i wonder is there any way to edit sshd config via whm ? I cant login via ssh i think root login is disabled and i just want to enable this to login through ssh
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You can try to reset the SSH configuration via WHM but you cannot edit the SSH configuration file in WHM:

    https://IP#:2087/scripts2/doautofixer?autofix=safesshrestart

    You would replace IP# with the server's IP number. Please note as a strong warning of the possible consequences that it is possible that you might end up losing access to SSH entirely if this doesn't work. If that is the case, you will then have to have your datacenter or NOC log into the machine to reset it for you.
     
Loading...

Share This Page