【发布时间】: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]","recipe[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