Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.

来源:互联网 发布:便宜mp3知乎 编辑:程序博客网 时间:2024/06/08 01:35

从github.com 克隆代码的时候出现的问题:

Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.

服务器上刚刚装Git,然后拷贝代码出现了上述的问题,这问题很好解决,在hosts文件中加入github.com就可以了,

我的centos服务器,vi /etc/hosts


保存# wp 保存,再次克隆代码,

正常,。。。

0 0
原创粉丝点击