Skip to main content

Help troubleshooting ssh shell access

Comments

7 comments

  • quietFinn
    If you have root access you can access WHM as root. In there you can create an account: Home " Account Functions " Create a New Account give it shell access Home " Account Functions " Manage Shell Access and then you must add it to the wheel group Home " Security Center " Manage Wheel Group Users after that you can make a SSH connection to the server, log in as that user, and then you su to root: [QUOTE] su -
    you give the root password and you are in.
    0
  • kurtosis
    Thank you, I do have root access and that would be perfect, except I'm getting stuck on creating the new account. The problem is that in Home >> Account Functions >> Create a New Account you have to specify a domain for the account, and it can't be the same domain as an already existing account. However, there is only one domain being hosted on this server, and it is already used with another account. I'm not at liberty to delete or modify that other account, nor obtain the password for it. So, do I create a new account under a fake domain? Or is there another/better way? Thanks!
    0
  • quietFinn
    [quote="kurtosis, post: 1495131"> So, do I create a new account under a fake domain? Or is there another/better way? Thanks!
    You can do that, it does not matter. When you are able to log in as root you can create an account in command line, add it to the wheel group and use it as "ssh user". EDIT: Oh yes don't forget to give that account a password.
    0
  • kurtosis
    Thank you, that got it, much appreciated!
    0
  • cPanelMichael
    Hello :) I just wanted to add that it's likely better to create a SSH user manually via the command line instead of creating a new cPanel account with a fake domain name. A full cPanel account is not necessary if you are only seeking to setup an additional SSH user. Thank you.
    0
  • quietFinn
    [quote="cPanelMichael, post: 1495392"> I just wanted to add that it's likely better to create a SSH user manually via the command line instead of creating a new cPanel account with a fake domain name. A full cPanel account is not necessary if you are only seeking to setup an additional SSH user.
    Of course it is, but (as I understood) the OP was not able to get to command line.
    0
  • cPanelMichael
    [quote="quietFinn, post: 1495441">Of course it is, but (as I understood) the OP was not able to get to command line.
    Yes, that's correct and it's a legitimate alternative if SSH access is not possible. I just wanted to clarify the recommended method for others who may view this thread in the future. Thank you.
    0

Please sign in to leave a comment.