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

原文地址:https://www.cnblogs.com/sneike/p/9210928.html