The SSH and rkhunter configuration options should be the same

I just ran rkhunter --check and all was good except this:

Checking if SSH root access is allowed                   [ Warning]

You can also have this error during a daily run :

Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'PermitRootLogin': no
         Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': unset

What does this warning mean? SSH root access is not allowed on this system.


Solution :

Here is how my /etc/ssh/sshd_config is set:

PermitRootLogin no

and rkhunter.conf

root ~ # cat /etc/rkhunter.conf | grep  ALLOW_SSH_ROOT_USER
  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

NTP - Ajustement de l'heure (Centos)

Installation de NTP :   Centos 6 : yum install ntpchkconfig ntpd onntpdate...

Installer WHM / cPanel sur Centos

yum updateyum upgradeyum install perlcd /homewget -N latest...

Installation de plugins & Outils utiles

wget -Uhv...

Supprimer les anciens kernels

Connaitre sa version kernel actuelle :uname -rNe conserver que l'actuel et sa version antérieure...

Serveur full (/var/tmp/)

rm -rf /tmp/* service mysql restart service httpd restart

Powered by WHMCompleteSolution