【发布时间】:2021-02-04 03:00:03
【问题描述】:
我正在尝试在 cPanel 帐户上克隆 Azure 托管存储库。我已经从 cPanel -> Manage SSH Keys 部分生成了公共和私有 SSH 密钥。
后来我在我的 Azure 帐户中添加了这个 link 之后的公钥。当我使用 SSH URL(例如:git@ssh.dev.azure.com/MyProject)在 cPanel 上克隆存储库时,它会抛出异常
Error: (XID azuvpp) “/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when it ended:
Permission denied, please try again. Permission denied (password,publickey).
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
注意 - 这里的想法是尝试实施 CI/CD 以在 Azure 存储库中的主分支上有提交时自动在 cPanel 上进行推送部署。
接受想法和建议
【问题讨论】:
标签: git azure azure-devops cpanel