windows 10 LTST 2019
~/.ssh/id_isa
本来有一个配置,但这个是连接公司的 gitlab 现在想连接 github,所以又用 ssh-keygen 生成了一个 yazoox_isa
并且也 ssh-add 成功了。github 上面,也添加了该 SSH Key
但是我 git clone github 上面的项目时,却报错,如下:
The authenticity of host 'github.com (13.250.177.223)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6Y8Es5.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
这里的 SHA256 我也不知道是啥,在 known_hosts 里面没有该值。
然后下面的选择 fingerprint 后,我把 yazoox_isa.pub 里面的内容帖上去,也不行,还是失败。
请教一下,这个到底该如何设置?哪里出了问题?
谢谢!
1
FragmentLs 2020-07-28 18:01:59 +08:00
......那不是报错,yes continue 就行了
|
2
ayase252 2020-07-28 18:07:09 +08:00 via iPhone
yes
|
3
SjwNo1 2020-07-28 18:08:47 +08:00
Are you sure you want to continue connecting (yes/no/[fingerprint])?
这一步需要输入 yes,并不是习惯动作回车哦 |
4
yazoox OP @FragmentLs @ayase252 @SjwNo1
兄弟们,不行啊!我输入了 yes. 但是当我 git clone 时,还是出错呢。 ··· [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ··· |
5
yazoox OP 并且,我测试过
ssh -T [email protected] Hi, xxx! You've successfully authenticated, but GitHub does not provide shell access. 还有哪里不对么? |