这个应该是很多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

一切都好了  就ok 了 ,反正我的就好了,如果你的还没好那肯定是姿势不对,换个姿势再来一次吧

相关文章:

  • 2022-03-03
  • 2021-08-13
  • 2021-09-21
  • 2022-01-14
  • 2021-04-17
  • 2022-12-23
猜你喜欢
  • 2021-07-02
  • 2021-11-29
  • 2021-09-12
  • 2022-12-23
相关资源
相似解决方案