我正在使用我在这里找到的 URL:
我的 ssh 客户端是 Ubuntu 64 位 11.10 桌面,我的服务器是 Centos 6.2 64 位。我已按照指示进行操作。我仍然在 ssh 上收到密码提示。
我不知道接下来要做什么。
这篇文章是在这个问题之后:身份验证被拒绝:文件 /var/git/.ssh/authorized_keys 的所有权或模式错误。
在那里暴露的问题已解决(关于文件
.ssh
夹的文件模式。但是另一个问题仍然存在,所以我创建了一个新问题:
当我尝试登录(使用详细选项)时,一切似乎都运行良好,但最后,发生了以下情况:
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/remi/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/remi/.ssh/id_dsa
debug1: Trying private key: /home/remi/.ssh/id_ecdsa
debug1: Trying private key: /home/remi/.ssh/id_ed25519
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
Run Code Online (Sandbox Code Playgroud)
我不明白,因为这些行对我来说似乎毫无意义:
we sent a publickey packet, wait for reply …