gpt4 book ai didi

wordpress - Git 子模块更新过程在尝试将 Azure DevOps 连接到 siteground 服务器时需要密码

转载 作者:行者123 更新时间:2023-12-03 02:14:15 26 4
gpt4 key购买 nike

我有一个 WordPress 网站存储库,其中包含两个子模块,一个用于连接到主题,一个用于 pull 特殊插件。目前,这两个子模块都以单一存储库的形式托管在Azure DevOps上。我可以轻松地克隆整个子模块,启动它们并将其更新到我的本地计算机中,但是,当我尝试在我的siteground 主机,它要求输入密码来更新子模块;

**它已读取文件夹,同时将其保留为空。

  • 我尝试创建一个公共(public) ssh,并将其导入到 Azure DevOps 上和 Siteground SSH 工具
  • 我已使用 PAT(个人访问 token )Azure 开发运营

但是一次又一次询问密码

git submodule init
git submodule update
<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fd9a9489bd8e8e95d399988bd39c87888f98d39e9290" rel="noreferrer noopener nofollow">[email protected]</a>'s password:
Permission denied, please try again.

如果您能帮我解决这个密码到底是什么,我将非常感激!

最佳答案

首先,检查您的 key 是否确实有效(意味着其公钥已注册)

ssh -Tv <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7f18160b3f0c0c17511b1a09511e050a0d1a511c1012" rel="noreferrer noopener nofollow">[email protected]</a>

如果是,请仔细检查 .gitmodules 中注册的 URL 实际上是 SSH URL。
PAT 仅用于 HTTPS URL。

关于wordpress - Git 子模块更新过程在尝试将 Azure DevOps 连接到 siteground 服务器时需要密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71993938/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com