【问题标题】:ERROR: Net::SSH::HostKeyMismatch: fingerprint错误:Net::SSH::HostKeyMismatch:指纹
【发布时间】:2018-04-17 06:15:58
【问题描述】:

我正在尝试引导节点 sudo knife bootstrap 10.40.116.100 --ssh-user ubuntu --sudo --identity-file /home /ec2-user/.ssh/ihies-east-1.pem -N newsite -r "recipe[pilot_sec-update]","re​​cipe[vmpilot]" 我得到 ERROR: Net::SSH::HostKeyMismatch:fingerprint 16 :78:0d:29:7d:5e:cf:25:01:92:df:3a:94:64:5d:b6 与“10.40.116.100”不匹配 1. 我可以用 ssh -i /home/ec2-user/.ssh/ihies-east-1.pem decs@10.40.116.100 ssh 2. 我清除了我的已知主机文件 还是报错

【问题讨论】:

  • 还要检查 root 的 known_hosts,因为你在 sudo 下运行。
  • 从 root 的已知主机中删除条目修复了该问题。现在我无法验证 ubuntu - 尝试密码验证
  • NVM 的键有错字,现在可以使用了,谢谢!你这个男人!

标签: ssh chef-infra knife


【解决方案1】:

https://stackoverflow.com/users/78722/coderanger 建议也从 root 用户中清除已知主机并修复它

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-01
    • 2023-04-03
    • 1970-01-01
    • 2017-02-17
    • 2011-03-06
    • 2016-07-23
    相关资源
    最近更新 更多