1. 程式人生 > >Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known host

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

測試

這裡寫圖片描述
可以看見它又變了,連線到另一個伺服器上了。
但是不慌,將這個IP也加上去就行了。
最後一行可以看見,已經沒有問題了。