ssh -T git@github.com 出錯

ssh -T git@github.com 出錯

The authenticity of host 'github.com (192.30.255.113)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? no

can't connect to github via ssh


Did you try to add github as known host?

If you have an existing known_hosts file and do not want to overwrite (as @Puce suggested in the comment), use this.

ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
This will add the rsa key to the end of the known_hosts.

If you have no idea what known_hosts is/means, or you never engaged with it for sure, you can simply write a new one, but note that this will remove the existing one if you had any.

ssh-keyscan -t rsa github.com > ~/.ssh/known_hosts

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • 一、Homebrew簡介、安裝以及git安裝 Homebrew簡稱brew,是Mac系統(tǒng)上軟件包的管理工具,能在M...
    程旭媛閱讀 2,786評論 1 1
  • 現(xiàn)在使用git等很多,自己也嘗試了下,結(jié)果在安裝后執(zhí)行一下命令等時候總是報permission denied ss...
    Terry_Pan閱讀 4,033評論 0 4
  • 近期在linux上搭建了用于分布式存儲的----GlusterFS和Ceph這兩個開源的分布式文件系統(tǒng)。 前言--...
    ZNB_天玄閱讀 2,839評論 0 0
  • 簡書連載風(fēng)云錄薔薇小說目錄擇一世長安專題擇一世長安【目錄】 文丨薔薇下的陽光 上一章丨《第五十七章:一夜一翻牌》 ...
    薔薇下的陽光閱讀 719評論 4 9
  • 感謝各位關(guān)注,因個人原因,產(chǎn)品及設(shè)計類分析文章將不再更新,很遺憾。
    龍隱閱讀 616評論 1 1