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.

Cant log on to WHM, Even though the password is correct and SSH is working !!!

Discussion in 'Security' started by furquan, Feb 18, 2013.

  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Hello all,

    I Cant log on to WHM, Even though the password is correct and SSH is working !!!

    Only WHM does not let me in.

    Can any one suggest a recourse ?

    Thank you
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Check cPHulk isn't restricting access - can you log in via SSH and whitelist your IP address?
     
  3. mark b

    mark b Member

    Joined:
    Oct 14, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi i have this issue
    i did this command but so far seems to not work

    using the ssh putty

    logged in as root

    then typed
    mysql

    then typed
    use cphulkd;

    then typed

    SELECT * FROM `brutes` WHERE `IP`=MYIPADDRESSHERE;

    it showed me a login banned list

    +--------------+---------------------------------------------------------------------------------------------------------+---------------------+---------------------+
    | IP | NOTES | BRUTETIME | EXPTIME |
    +--------------+---------------------------------------------------------------------------------------------------------+---------------------+---------------------+
    | MYIPADDRESS | 6 failed login attempts to account root (system) -- Large number of attempts from this IP: MYIPADDRESS | 2013-02-19 13:40:20 | 2013-02-19 13:45:20 |
    +--------------+---------------------------------------------------------------------------------------------------------+---------------------+---------------------+
    1 row in set (0.00 sec)


    then did this command

    DELETE FROM `brutes` WHERE `IP`='MYIPADDRESS';

    i get this

    Query OK, 1 row affected (0.00 sec)


    BUT
    i still get the same problem ok to login useder ssh but still won;t allow me in my whm


    whats the command for changing password in ssh for the whm i'll try that but don't know the command

    or is there somthing else going on
     
  4. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Yes, It was actually CPHulk that was acting up :(, But SSH was working and that helped me resolve the issue :)

    Thank you every one
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Do this in SSH command prompt (as root):

    /scripts/cphulkdwhitelist YOURIPADDRESS

    The root WHM uses the same password what you use when you connect using SSH, i.e. if you can log in using that password the password is correct, and if you can not log in in WHM, using that password, then changing the password does not help.

    The root password you change using command
    passwd
    (as root of course).
     
Loading...

Share This Page