cPanel Security Advisor - Scan ERROR

Oct 4, 2019
11
3
3
Nigeria
cPanel Access Level
Root Administrator
Twitter
Hello
I run my Security Advisor today and i got:
Code:
SSH direct root logins are permitted.
Manually edit /etc/ssh/sshd_config and change PermitRootLogin to “without-password” or “no”, then restart SSH in the “Restart SSH” area
So i edited the sshd_config via the Plugin called ConfigServer Explorer and i restarted the SSH
But my problem now is that the Security Advisor still report error that SSH direct root logins are permitted
And my sshd_config file already has PermitRootLogin “without-password” . I even tried rebooting and the notice still appears. (v84.0.8)
Please help
Any solution ???
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hello,

You shouldn't need to manually modify this option. You can modify it through WHM by going to WHM>>Security Center>>SSH Password Authorization Tweak and disable Password Authorization.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Done, Security Advisor scan report still show error that SSH direct root logins are permitted
Manually edit /etc/ssh/sshd_config and change PermitRootLogin to “without-password” or “no”, then restart SSH in the “Restart SSH” area
Have you tried to login as root?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
If you've done all of that and you're still seeing that the security advisor is reporting password auth is still enabled, i'd suggest opening a ticket so we can look into the issue further.
 
  • Like
Reactions: holyblacqkie0091