Table of Contents:

ssh

PasswordAuthentication no  # 设置成这样
ChallengeResponseAuthentication no # 设置成这样
# 重启
systemctl restart sshd