Cloud Builder无法通过SSH与Git连接

时间:2019-04-11 09:02:11

标签: google-cloud-platform google-cloud-build

我生成了ssh密钥,并按手册(https://cloud.google.com/cloud-build/docs/access-private-github-repos#create_or_update_known_hosts_file中的说明进行了添加,但是当构建器使用命令git submodule update --init --recursive时,我得到了:

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

当我在本地使用相同的ssh密钥时,克隆存储库等没有任何问题。

0 个答案:

没有答案