Cannot get the SSH working on my cpanel account
Hi have spent the last hour trying to no avail to login through the SSh (using puTTy) to the Cpanel account on my dedicated server.
[LIST]
I create the keys on the cpanel side + Authorize.
Download the private key
Convert it to PPK using puTTyGen
Begin to login with putty (with private key attached) using servers main IP address that the cpanel account is attached to. When I get to the "Login as" prompt. I type in the account username and then it continually tells me the key is not accepted. I'm not sure what I keep doing wrong.
I also tried using the server hostname in place of the IP. The cpanel account has SSH activated and I also have SSH root access to the dedicated side, but I can't get into my individual Cpanel accounts through SSH.
-
Hello :) I've found most users report success with SSH access after following the steps in the guide at: [Tutorial] Interested in increasing the security of your server? Read this. (sshd hardening) Could you let us know if this guide helps? Thank you. 0 -
Are you able to SSH in using password auth to check /var/log/secure and see what the issue might be? It sounds to me like perhaps the user just isn't authorized to log in, or either the user or key is incorrect. 0 -
I took a look at the SSH guide posted above and in my ect/ssh/sshd_config file and the "Allowusers" option is activated for the root and main cpanel account user, but not for the additional cpanel accounts I created after the server was installed. Does it matter that the cpanel account usernames that I want to have ssh key access at the account level are not on the Allowusers lists, since I thought that was only for accounts that you wanted to grant the su root option to? 0 -
Per that guide, the "AllowUsers" option allows you to specify a list of users that can log into the shell. Only these users will be able to log in, and no one else. You can disable this option, restart SSHd, and then check to see if SSH access is permitted for the additional users. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments