Skip to main content

Cant access to Cpanel or WHM

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! When you access the server over SSH, are you logging in as "root" or at least gaining root access through sudo? If you have the root password for the server, that is also the root password for WHM - there is not a way to get those out of sync. When you try and login through WHM, is it just telling you the password is wrong?
    0
  • SimpleSonic
    Did the IT person possibly disable root logins? Check the file: /etc/ssh/sshd_config
    Look for a line with the following: #PermitRootLogin yes
    or PermitRootLogin no
    If either is found you can simply change it to: PermitRootLogin yes
    And then restart the SSH service.
    0
  • cPRex Jurassic Moderator
    @ResellerWiz - the OP's second sentence is "I have access to the serve via SSH" so that wouldn't be the issue :D
    0
  • SimpleSonic
    @ResellerWiz - the OP's second sentence is "I have access to the serve via SSH" so that wouldn't be the issue :D

    The OP said he had access to the server, but did not specifically say if he was accessing as root. A lot of server providers disable root logins and create a separate account as a security measure, so I figured that may have been the case. If they are in fact accessing SSH as root, then you are absolutely correct, that would not be the issue. :D
    0
  • quietFinn
    ... I'm trying to access to WHM with root user and ssh's password, but it doesn't work....

    What does "it does not work" mean? Do you get the login screen? Do you connect to SSH as root or as a normal user? Saying "it does not work" is not enough, you should tell exactly what happens.
    0
  • arjunsuhsass
    0
  • cPRex Jurassic Moderator
    @arjunsuhsass - could you share the solution here for everyone to see?
    0
  • SimpleSonic
    0

Please sign in to leave a comment.