Skip to main content

Locked out of WHM root user - can ssh in via key, but not by password

Comments

5 comments

  • cPanelMichael
    Hello :) Are you sure password authentication is permitted? Review the following option in Web Host Manager to see if it's enabled: "WHM Home " Security Center " SSH Password Authorization Tweak" Thank you.
    0
  • yebo
    ]Hello :) Are you sure password authentication is permitted? Review the following option in Web Host Manager to see if it's enabled: "WHM Home " Security Center " SSH Password Authorization Tweak" Thank you.

    How am I supposed to go into the WHM Security Center if I cannot login to WHM?!?
    0
  • Serra
    Those two things are not naturally tied together. It may be that one setting has nothing to do with another setting. Password for root in SSH is a setting. As for WHM, do you know how you were locked out? Was it a firewall block or perhaps cPHulk? Knowing that will allow you to figure out how to undo the block. Is it IP based? Then you can always use a phone or different computer to login and undo it. If your password is wrong, then I'm not sure what you can do.
    0
  • yebo
    ]Those two things are not naturally tied together. It may be that one setting has nothing to do with another setting. Password for root in SSH is a setting. As for WHM, do you know how you were locked out? Was it a firewall block or perhaps cPHulk? Knowing that will allow you to figure out how to undo the block. Is it IP based? Then you can always use a phone or different computer to login and undo it. If your password is wrong, then I'm not sure what you can do.

    Good call, it was cphulk. Thanks!
    0
  • cPanelMichael
    Note that it's a good idea to add your IP address or IP range to the cPhulk white list to prevent it from happening again in the future. Thank you.
    0

Please sign in to leave a comment.