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

前言

最近在学习GIt,安装了Git bash,过程中遇到了各种问题,写下帖子,方便大家解决问题,也方便自己回顾

问题描述

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

那条警告的大概意思就是:警告:为IP地址13.229.188.59的主机(RSA连接的)持久添加到hosts文件中,那就来添加吧!

解决办法:

linux环境

  
打开

vim /etc/hosts

添加一行:13.229.188.59  github.com

Windows环境:

打开

C:\Windows\System32\drivers\etc\hosts     

添加一行:13.229.188.59  github.com

测试

Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known host_第1张图片
可以看见它又变了,连接到另一个服务器上了。
但是不慌,将这个IP也加上去就行了。
最后一行可以看见,已经没有问题了。

你可能感兴趣的:(Git版本控制,Git,学习笔记)