&tag(CentOS8/ssh);
systemctl list-unit-files | grep sshd
PasswordAuthentication no
systemctl restart sshd.service