相关疑难解决方法(0)

为什么我仍然收到带有公钥身份验证的 ssh 的密码提示?

我正在使用我在这里找到的 URL:

http://web.archive.org/web/20160404025901/http://jaybyjayfresh.com/2009/02/04/logging-in-without-a-password-certificates-ssh/

我的 ssh 客户端是 Ubuntu 64 位 11.10 桌面,我的服务器是 Centos 6.2 64 位。我已按照指示进行操作。我仍然在 ssh 上收到密码提示。

我不知道接下来要做什么。

ssh key-authentication

597
推荐指数
17
解决办法
99万
查看次数

无法使用 SSH-RSA 密钥登录

这篇文章是在这个问题之后:身份验证被拒绝:文件 /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 …

ssh authentication key-authentication sshd

7
推荐指数
2
解决办法
3万
查看次数

标签 统计

key-authentication ×2

ssh ×2

authentication ×1

sshd ×1