Hi all, I'm new to cPanel and WHM, helping a friend with a site hosted at Godaddy on CentOS with cPanel and WHM.
I've added a keypair to the root user's 'manage root's ssh keys' page in cPanel, and then used ssh-add to add it to my local dev machine too (Ubuntu 12.04). However, ssh'ing in as root is rejected, key isn't accepted.
The box is also configured to enable ssh password login, and there is a sub-account (or whatever the correct term is) associated with the site's domain (only one website/domain running). I notice the sub-account is also the only account enabled for shell access in cPanel's shell access page. Is that why ssh as root is rejected, b/c only the sub-account is enabled for ssh?
We don't have access to the sub-account password, so can't use that to ssh in. I tried creating a second sub-account associated with the same website domain, but cPanel doesn't allow that, seems that only one sub-account can exist per domain.
I'm stumped as to what exactly the problem is, and how to proceed. How do I set up either root or a second sub-account for ssh shell access? Any advice much appreciated. Thanks!
I've added a keypair to the root user's 'manage root's ssh keys' page in cPanel, and then used ssh-add to add it to my local dev machine too (Ubuntu 12.04). However, ssh'ing in as root is rejected, key isn't accepted.
The box is also configured to enable ssh password login, and there is a sub-account (or whatever the correct term is) associated with the site's domain (only one website/domain running). I notice the sub-account is also the only account enabled for shell access in cPanel's shell access page. Is that why ssh as root is rejected, b/c only the sub-account is enabled for ssh?
We don't have access to the sub-account password, so can't use that to ssh in. I tried creating a second sub-account associated with the same website domain, but cPanel doesn't allow that, seems that only one sub-account can exist per domain.
I'm stumped as to what exactly the problem is, and how to proceed. How do I set up either root or a second sub-account for ssh shell access? Any advice much appreciated. Thanks!