为什么会这样?这是一个秘密要点,我从下面的代码块中删除了PII:
user@NT696918742080085 MINGW64 ~/AppData/Roaming/Code/User (master)
$ git push -u origin master
The authenticity of host 'gist.github.com (xxx.xxx.xxx.xxx)' can't be established.
RSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no/[fingerprint])? no
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
答案 0 :(得分:1)
首先检查您的密钥是否正确识别:
ssh -Tv git@github.com
然后,在“ Pushing to gist”之后,仔细检查您的主要SSH URL,或尝试(使用2FA activated)HTTPS URL。