【问题标题】:SSH key configuration in Hudson and GitHudson 和 Git 中的 SSH 密钥配置
【发布时间】:2013-01-23 10:52:59
【问题描述】:

我正在使用 Hudson 进行 Git 配置。我已经使用 Hudson 创建了新工作,但它抛出了以下异常:

returned status code 128: error: The requested URL returned error: 401 while accessing https://github.com/test/eng.git/info/refs  fatal: HTTP request failed  ERROR: Could not fetch from any repository FATAL: Could not fetch from any repository   

从 Git 获取内容时。我没有配置任何 SSH 密钥配置。

如何配置 SSH 密钥?

【问题讨论】:

  • 如果您通过 https 获取,为什么要使用 SSH 密钥?

标签: git hudson


【解决方案1】:

由于您使用的是 github,因此他们提供了一些很好的工具来设置 SSH 密钥。请参见 https://help.github.com/articles/generating-ssh-keyshttps://help.github.com/categories/56/articles

【讨论】:

    猜你喜欢
    • 2011-01-27
    • 2017-07-13
    • 2011-04-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-19
    • 1970-01-01
    相关资源
    最近更新 更多