您的位置:首页 > 其它

git clone error Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the

2017-03-09 00:00 966 查看
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).

当 git clone xxxx/xxxx 的时候报错了。

解决办法:

vim /etc/hosts

192.30.253.113 github.com

然后

$ ssh-keygen -t rsa -C "1148743058@qq.com"

密钥设置好就可以使用了。

重新git clone
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git error
相关文章推荐