"Host key did not appear in manually configured list" 是什么意思?

What does "Host key did not appear in manually configured list" mean?

我正在尝试设置 SSH 密钥对。到目前为止我有

  1. 使用 PuTTYGen 生成了对
  2. 将私钥保存到客户端机器
  3. 向服务器添加了 public 密钥。我将它放在 ~/.ssh/authorized_keys 文件中供我将用于连接
  4. 的用户使用
  5. 将来自 PuTTYGen 的指纹添加到 PuTTY 中的连接 > SSH > 主机密钥 菜单
  6. 将私钥的路径添加到 PuTTY 中的连接 > SSH > 身份验证菜单

但是当我尝试连接时出现错误 "Host key did not appear in manually configured list".

第4步错误:

Added the fingerprint from PuTTYGen to the Connection > SSH > Host Keys menu in PuTTY

"Host keys" box 用于 server 的 public 键(host 键)。当您在此处添加 您的 public 密钥时。

一般来说,你不需要在那里添加任何东西。只需验证提示上的主机密钥,您将获得第一个连接。不管怎样,你可能已经做了什么。如果没有,请参阅我的文章 Where do I get SSH host key fingerprint to authorize the server? – You can also check another article Understanding SSH Key Pairs