更新:这是测试版的东西,所以我会拭目以待!
我无法使用 ssh 进行 git push 到source.developers.google.com
我收到此错误消息git push --all google
:
The authenticity of host '[source.developers.google.com]:<some ip address' can't be established.
ECDSA key fingerprint is SHA256:<key>
更新:添加到 KNOWN_HOSTS:
ssh-keyscan -t rsa source.developers.google.com > known_hosts
遵循本文档
ssh 配置vi ~/.ssh/config
:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
git远程-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)