【发布时间】:2021-07-08 23:25:36
【问题描述】:
我正在尝试从 Jenkins 连接到 GitHub Enterprise,但我遇到了连接问题 -
Failed to connect to repository : Command "/usr/bin/git ls-remote -h git@xxx/yyy.git HEAD" returned status code 128:
stdout:
stderr: ERROR: Your account is suspended. Please check with your installation administrator.
fatal: The remote end hung up unexpectedly
有趣的是,我使用的帐户能够登录 GitHub 并且没有被暂停。我尝试同时使用 SSH 和密码都无济于事。任何线索将不胜感激。
【问题讨论】:
-
我在使用 VSTS(Visual Studio 团队服务)时遇到了同样的问题
-
我记得这个问题的解决方案仅与密码有关。我们为连接创建了新的公私密钥并解决了问题。
标签: github jenkins credentials