How do i get root SSH access

  • Thread starter Deleted member 795791
  • Start date
D

Deleted member 795791

Guest
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?
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
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. :(
 
D

Deleted member 795791

Guest
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. :(
Ok, ill try thank you!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 
D

Deleted member 795791

Guest
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.
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...
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
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
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
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
 
Last edited: