新生成密鑰的時(shí)候,git clone或者push的時(shí)候,經(jīng)常會(huì)報(bào)這樣的錯(cuò)誤:
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])?
少了一個(gè)known_hosts文件,本來密鑰文件應(yīng)該是三個(gè),現(xiàn)在是兩個(gè),就會(huì)報(bào)這樣的錯(cuò)誤,此時(shí)選擇yes回車之后,即可,同時(shí)生成缺少的known_hosts文件
Are you sure you want to continue connecting (yes/no)? //輸入yes,回車