当我执行命令时ssh localhost(在 Ubuntu 10.10 中),它会显示错误消息“权限被拒绝(公钥)”。可能是什么问题?
ssh localhost
有什么问题sshd_config file in /etc/ssh吗?应该PasswordAuthentication设置为no? 我已将 设置PasswordAuthentication为no,但它仍然给我错误“权限被拒绝(公钥)”。
sshd_config file in /etc/ssh
PasswordAuthentication
no
ssh connection
connection ×1
ssh ×1