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

如果出现这个问题,说明你的github缺少公钥

使用 ssh -T git@gtihub.com 去测试

1.生成密钥

ssh-keygen -t rsa -C "your name"  #引号里输入你的用户名

2.查看密钥,使用 cat ,复制密钥

3.在github上添加密钥

     点击用户头像   --setting   -- ssh and GPG keys

 

posted @ 2018-06-21 20:53  sneike  阅读(3078)  评论(0编辑  收藏  举报