【发布时间】:2016-12-15 07:04:30
【问题描述】:
我有一个新配置的 AWS 实例。我正在尝试使用 pip install git+ssh syntax 使用 ansible 安装应用程序。但是,ansible 挂起。经过进一步调查,ansible 挂起是因为:
The authenticity of host 'github.com (192.30.253.113)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?
所以我的问题是,如何将-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 之类的ssh 选项注入到pip 命令中?
还将考虑替代解决方案。
【问题讨论】:
-
你可能想用谷歌搜索
ssh-keyscan -t rsa github.com
标签: git amazon-web-services ssh pip ansible