google-cloud-platform - Cloud Builder 无法通过 ssh 与 Git 连接
问题描述
我生成了 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 密钥时,我在克隆 repos 等方面没有任何问题。
解决方案
推荐阅读
- python - 创建一个包含每个事务文件的列表
- haskell - 类型变量条件下的 Haskell 实例
- python - 使用远程解释器在服务器上运行 Django - 防止 Django 创建测试数据库
- php - Phpword - 使用模板处理器添加图像
- r - gghighlight 2 具体点 ggplot2
- emacs - emacs - 是否可以将 defs 与 clojure-mode 对齐?
- javascript - 有必要(重新?)在这里使用“var”吗?
- sql-server - 组合 2 个查询以获得单组结果的问题
- google-app-engine - Google App Engine Go 1.11 应用程序无法访问 Google 电子表格
- c# - Excel 中使用 Open XML 的样式