Ssh keeps accessing with password even after disabling password access - Centos 8

I’ve tried everything, I’ve already restarted the server. I restarted sshd and it still keeps logging in with the password instead of asking for the key.


Capturar