I ran rkhunter -c on a server an the warning that i got was the following:
Checking if SSH protocol v1 is allowed [ Warning ]
Warning: The SSH configuration option 'Protocol' has not been set.
The default value may be '2,1', to allow the use of protocol version 1.
So i ran the command:
nano sshd_config
I added the line
Protocol 2
then re-ran the rkhunter command but received the same warning. What else can i try?
Thank you.
Protocol 2in your/etc/ssh/sshd_configfile, then open/etc/rkhunter.confand changeALLOW_SSH_PROT_V1=2toALLOW_SSH_PROT_V1=0and rerunrkhunter. From the config file, I cite: If the 'Protocol' option has not been set in the SSH configuration file, then a value of '2' may be set here in order to suppress a warning message. A value of '0' indicates that the use of SSH-1 is not allowed. – lucasart Aug 22 '19 at 04:26