ssh登陸 The authenticity of host 192.168.0.xxx can't

用ssh登陸一個機器(換過ip地址),提示輸入yes後,屏幕不斷出現y,只有按ctrl + c結束 git

 

錯誤是:The authenticity of host 192.168.0.xxx can't be established. github

 

之前和同事碰到過這個問題,解決了,沒有記錄,此次又碰到了不知道怎麼處理,還好有QQ聊天記錄,查找到一下,找到解決方案: ssh

 

執行ssh  -o StrictHostKeyChecking=no  192.168.0.xxx 就OK ip

********************************************************************************************************** ci

另外的狀況 rem

今天晚上在搞github倉庫..可是死活不能和github聯繫起來。 it

報了這個錯: io

$ git push -u origin master
The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
fatal: Could not read from remote repository. ast

Please make sure you have the correct access rights
and the repository exists. 登錄

就是這個東西。搞死我了。。

不能和github聯繫在一塊兒。

最後發現是本身小白了....

結果就能夠了...哎..記錄一下本身的經歷..

相關文章
相關標籤/搜索