I am trying to disable root login. I set PermitRootLogin no
in /etc/ssh/sshd_config
.
When I run ssh root@IP
, I get Permission denied, please try again.
which is correct.
When I login into root using su -
command from another user, I still see XXXXX number of failed login attempts.
Is this normal or did I forgot about something?
I am running CentOS 7.