添加了公钥,但 ssh 无法使用它

添加了公钥,但 ssh 无法使用它

我将我的公钥从我的计算机添加到远程 Linux 服务器。但是,当我尝试 ssh 登录时,它识别

$ ssh -i ./id_rsa [email protected].
debug1: Found key in /Users/david/.ssh/known_hosts:189
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: ./id_rsa
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: password
[email protected]'s password: 

知道这里的问题是什么吗?如何在不输入密码的情况下 ssh 到该主机?

相关内容