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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do i get root SSH access

Discussion in 'Security' started by Martinmmps, Nov 26, 2017.

  1. Martinmmps

    Martinmmps Member

    Joined:
    Jun 9, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambridge
    cPanel Access Level:
    Website Owner
    I have got linux hosting with cpanel using go-daddy and i am trying to get root ssh access or sudo.

    When i try doing sudo it says
    -bash: sudo: command not found

    When i try doing what most help topics say, /etc/ssh/sshd_config doesn't exist.
    But i do have /etc/ssh/ssh_config but it doesn't have PermitRootLogin no inside it

    Please can someone help?
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    You show your cPanel access level as a Website Owner

    If you do not own/rent and operate the whole server you host your website on, GoDaddy (or their reseller) is extremely unlikely to grant you root access.

    You can always ask GoDaddy (or their reseller), but don't be disappointed if they decline your request. :(
     
  3. Martinmmps

    Martinmmps Member

    Joined:
    Jun 9, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambridge
    cPanel Access Level:
    Website Owner
    Ok, ill try thank you!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,693
    Likes Received:
    1,703
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The earlier response is correct in that you will need to contact your hosting provider for assistance with this issue. Feel free to let us know if you have any additional questions after consulting with them.

    Thank you.
     
  5. Martinmmps

    Martinmmps Member

    Joined:
    Jun 9, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambridge
    cPanel Access Level:
    Website Owner
    When i tried to contact Go-Daddy (i'm guessing this is what you meant by 'hosting provider') using their online support they said they could not help me, and so that has led me to think that cpanel is the thing that can help me, all of the tutorials online have told me it is cpanel i need to contact.

    Also is there any easy way to use online cpanel support without having to open a ticket and going through all that faf...
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,062
    Likes Received:
    346
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    GoDaddy doesn't normally provide SSH access AFAIK.

    You're using it, these forums. :)
     
  7. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,635
    Likes Received:
    53
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    cpanel really has noting to do with SSH or sudo access
    except it has a interface at the root level to grant SSH access to users.

    If the provider allows it you would have limited access IE: jailed
    the commands above you were trying to run no provider in the right mind would allow you access to.


    If you need root access you need to get a Dedicated server or a VPS server so you will have root access
     
  8. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Please excuse my effrontery. One of the many reasons I participate and try to contribute to this forum, is to learn from other website owners, server administrators and web hosts, what it is that their clients want, and how to best to satisfy them.

    With the above in mind, I am curious to know what exactly you may want to execute that requires a root SSH access.

    Root access is akin to having the keys to the kingdom. You would be able to shut down any of the server components (eg mail, web-server etc) or indeed, stop the whole server !

    You can also do terrible, and sometimes unrecoverable, damage to both users and the operating system files and folders (and even to the underlying hardware) with an ill considered command or even just a typo. You can compromise the server security or turn the server into your tool for distributing spam and/or malware, or have it take part in DDoS attacks.

    You will perhaps see why so few data centres, web hosts, agents or resellers will grant anyone root SSH access, other than to the server owner (the person or company that pays for, and is therefore responsible for, the whole server)

    If your web presence or service absolutely depends on you having root access, then your only option may be to rent a whole Dedicated or VPS server. Before you do, make sure that the company you are renting from will facilitate the access you want (Especially applies to virtual servers).

    If, of course, your desire for root access is motivated by anything other than an honourable and ethical need, you will definitely get found out sooner or later :-D
     
    #8 rpvw, Dec 17, 2017
    Last edited: Dec 17, 2017
Loading...

Share This Page