有人知道吗? 我怎样才能configurationsshd只连接公钥authentication?
currentStatus :如果你没有密钥。 那么你可以用你的密码login。
确保在sshd_config中设置了以下configuration项目:
sshd_config
PasswordAuthentication no UsePAM no ChallengeResponseAuthentication no