Git 存储库的ssh密钥-can';无法确定。ECDSA密钥指纹
更新:这是测试版内容,所以我将拭目以待强> 我无法使用ssh将git推送到Git 存储库的ssh密钥-can';无法确定。ECDSA密钥指纹,git,google-source-repositories,Git,Google Source Repositories,更新:这是测试版内容,所以我将拭目以待 我无法使用ssh将git推送到source.developers.google.com 我收到一条错误消息:git-push——全部是谷歌的: The authenticity of host '[source.developers.google.com]:<some ip address' can't be established. ECDSA key fingerprint is SHA256:<key> 此后 ssh-config
source.developers.google.com
我收到一条错误消息:git-push——全部是谷歌的:
The authenticity of host '[source.developers.google.com]:<some ip address' can't be established.
ECDSA key fingerprint is SHA256:<key>
此后
ssh-configvi~/.ssh/config
:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
git remote-v:
google ssh://<email>.com@source.developers.google.com:2022/p/<repo url> (fetch)
google ssh://<email>.com@source.developers.google.com:2022/p/<repo url> (push)
googlessh://.com@source.developers.google.com:2022/p/(fetch)
谷歌ssh://.com@source.developers.google.com:2022/p/(推送)
如果您对“是否确定…”提示说“是”,那么它会将地址添加到您计算机的已知主机列表中,并且不会再次显示该消息。如果您查看谷歌云文档,他们会在那里发布指纹,以便您确认其正确性
SHA256:AGvEpqYNMqsRNIviwyk4J4HM0lEylomDBKOWZsBn434
(或者可能在将来更新一些值)
如果这与控制台的输出相匹配,您应该可以安全地键入
yes
并将服务器添加到已知主机列表中。尝试使用verbose,GIT\u SSH\u COMMAND=“SSH-vvv”GIT…
这应该会向您显示更多信息谢谢,但是nok在我的情况下有效吗?您在这个问题上取得了任何进展吗?我也有同样的问题。没有,而且我在迁移到github后还没有看到它——即使它可能与ssh无关。我会接受你的回答,并希望它会解决它,如果我得到同样的问题再次。
google ssh://<email>.com@source.developers.google.com:2022/p/<repo url> (fetch)
google ssh://<email>.com@source.developers.google.com:2022/p/<repo url> (push)