Root access
I'm getting permission denied on both those logs.....I'm not in as root.
Where would I change the root password? I have access to the WHM panel and cpanel
-
Thanks, I changed the password but I get access denied when trying to login via ssh. I've also gone over the link you sent, I don't see an option to prevent root from logging in unless I'm missing it... 0 -
New Thanks, I changed the password but I get access denied when trying to login via ssh. I've also gone over the link you sent, I don't see an option to prevent root from logging in unless I'm missing it...
Check to see if password authentication is permitted by browsing to: "WHM Home >> Security Center >> SSH Password Authorization Tweak" Otherwise, you can try the safesshrestart Autofixer that's documented here to temporarily reset SSH access so you can login and change your /etc/ssh/sshd_config settings:0 -
Thanks Michael, So I get into the ssh_config and I'm adding permitrootlogin but then I get permission denied when trying to save the file..... 0 -
So I get into the ssh_config and I'm adding permitrootlogin but then I get permission denied when trying to save the file.....
Could you provide additional information about the specific commands you are using to edit the file, along with the username you used to access SSH? Thank you.0 -
Hi Michael, I'm logged in as the user Caldwell who is not an admin and I used Nano sshd_config. I can edit the file but when I go to save it it gives me the permission error. 0 -
I'm logged in as the user Caldwell who is not an admin and I used Nano sshd_config. I can edit the file but when I go to save it it gives me the permission error.
You must login as the user "root". You can try the safesshrestart Autofixer referenced above if initial access as "root" to SSH is not working. Thank you.0 -
Hi Michael, I did the safesshrestart but it still wouldn't let me login as root. Let me try again! 0 -
That worked! I'll follow the instructions on the other thread. I guess you can close this now? 0 -
That worked! I'll follow the instructions on the other thread. I guess you can close this now?
I'm happy to see SSH access is now working. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
11 comments