git clone github.com仓库发生错误
Error
The authenticity of host ‘github.com (20.123.13.32)’ can’t be established.
获得这个域名下的主机并加入到known_hosts
ssh-keyscan github.com >> ~/.ssh/known_hosts
Example (eg. using CircleCI workflow)
- run:
name: Add github.com to known hosts
command: ssh-keyscan github.com >> ~/.ssh/known_hosts