Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

这个应该是很多github新手经常出错的问题,这个就是没有在你github上添加一个公钥。

下面就直接说步骤:

1 可以用 ssh -T [email protected]去测试一下

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

图上可以明显看出缺少了公钥

2 直接上图

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

3. cat 一下  把出现的key 复制下来

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

4 .在github上添加刚刚生成的公钥

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hos