使用playbooks来ping主机时显示"Using a SSH password instead of a key is not possible
来源:互联网 发布:吉林11选5数据遗漏 编辑:程序博客网 时间:2024/06/03 06:28
fatal: [192.168.1.76]: FAILED! => {“failed”: true, “msg”: “Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add this host’s fingerprint to your known_hosts file to manage this host.”}
解决方案:
首先,需要关闭hosts文件中主机的防火墙
systemctl stop firewalld.service
然后,在ansible这端的主机去ssh连接hosts文件中的虚拟机,此过程会生成秘钥,此流程走通后就可以使用ansible来ping主机
阅读全文
0 0
- 使用playbooks来ping主机时显示"Using a SSH password instead of a key is not possible
- Is it possible to use a checkbox in a split button list instead of the gear icon?
- Gradle DSL method not found: 'android()'Possible causes:may be using a version of Gradle that does n
- using ntsd or cdb instead of drwtsn32 to generate a
- ssh without a password
- ssh without a password
- SSH Without a Password
- Ping/SSH a Ubuntu machine using hostname from Windows/Linux
- Is it possible to simulate a new addressing scheme for MANETs using GNS3 ?
- 'daemonize' is not a member of 'ACE'
- 'GetCurSel' : is not a member of 'CTime'
- is not a member of global namespace
- 'WriteHuge' : is not a member of 'CFile'
- 'find_if’ is not a member of ‘std'
- 'SetWindowTextA' : is not a member of 'CString'
- 'numeric_limits' is not a member of 'std'|
- 'numeric_limits' is not a member of 'std'
- 'putText' is not a member of 'cv'
- chrome不支持showModalDialog造成弹窗失败
- Ijkplayer视频播放
- oracle数据库备份
- 比尔盖茨沙漠里买地建未来城市?可能是个谣传!
- tcp checksum error
- 使用playbooks来ping主机时显示"Using a SSH password instead of a key is not possible
- 分布式服务框架Dubbo疯狂更新!阿里开源要搞大事情?
- mybatis中的<![CDATA[ <> ]]>
- git从无到有过程
- C#遇到的一些问题与解决方法
- 【传智播客郑州校区分享】来聊聊UI里面哪些颜色看起来高大上
- 使用PageOffice实现文档(word,excel,pdf)在线预览编辑
- 2.2 分别定义int,short类型的变量各一个,并依次输出它们的存储空间大小
- 如何理解语言