新生成密鑰的時候,git clone或者push的時候,經常會報這樣的錯誤:
The authenticity of host 'github.com (20.205.243.166)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
少了一個known_hosts文件,本來密鑰文件應該是三個,現在是兩個,就會報這樣的錯誤,此時選擇yes回車之后,即可,同時生成缺少的known_hosts文件
Are you sure you want to continue connecting (yes/no)? //輸入yes,回車