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!

WHM Login and SSH Key

Discussion in 'Security' started by M.Azzalin, Dec 1, 2017.

  1. M.Azzalin

    M.Azzalin Member

    Joined:
    Apr 20, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Biella
    cPanel Access Level:
    Root Administrator
    Hi,
    I'm new to WHM & CPANEL platform.

    I need to access to WHM with an another login different to the root user.
    This because i'm not the sysadmin but a developer with some admin knowledge who access now with ssh key.

    The sysadmin has added my ssh key login that I use with terminal but i need also to login in WHM interface.
    There is a way to login in WHM Interface always with the same credentials?
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    870
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Are you asking the URL for WHM or saying that the login fails? If the URL, try yourdomain.com/whm . If you mean the login fails, get the sysadmin to rest your password, to be sure it is not as simple as that.
     
  3. M.Azzalin

    M.Azzalin Member

    Joined:
    Apr 20, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Biella
    cPanel Access Level:
    Root Administrator
    Thanks for response,

    Nope, I was asking if with generated ssh key I can login to WHM interface without create another user, or obligatory I need to have another user account in WHM?
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,762
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    WHM is not SSH. They are two different systems. WHM does not use SSH keys.

    You need a username and password to access the WHM.

    Alternatively you could use an API key to access certain function of the WHM, but that's getting pretty advanced. Access to these API calls requires you to program and code an application for that.
     
  5. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    870
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    ...and if we approach your question/response in a different way, I have several users in WHM who also have been given SSH keys and sometimes work that way. So, it depends on how the account you use the SSH keys with was created in the first place. Do you not have the password for that account as well? It will have one.
     
  6. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    834
    Likes Received:
    302
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    If you need a second WHM user, you might be able to achieve what you want by setting you up as a up a reseller:

    Guide to Reseller Accounts - cPanel Knowledge Base - cPanel Documentation

    ..........and then assigning all the privileges to that reseller that the documentations warns you not to do :eek: (or just the ones you might need as a developer?) :)

    Edit Reseller Nameservers and Privileges - Version 68 Documentation - cPanel Documentation

    You might want to talk this over with your sysadmin, but in all honesty, if you are the owner and Root Administrator of the server (as your cPanel access level indicates) , you should be entitled to the standard root login credentials to WHM anyway !!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The previous post provides the correct approach to this question. Let us know if it helps.

    Thank you.
     
    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