【问题标题】:How to clone a git repository using SmartGit as ssh client on Linux?如何在 Linux 上使用 SmartGit 作为 ssh 客户端克隆 git 存储库?
【发布时间】:2016-12-27 11:20:21
【问题描述】:

找不到明确的说明,其他问题有Windows答案。

在托管服务提供商下,我切换了“使用 SSH 而不是 HTTPS 访问存储库”: gitlab smartgit

我已经将 smartgit 配置为 SSH 客户端: smartgit ssh client

我的 ssh 密钥在正确的文件夹中:/home/user/.ssh/id_rsa_4096_gitlab

克隆时 smartgit 仍然要求我进行 http 身份验证。所以我的问题是:

  • 如何在 Linux 上使用 SmartGit 作为 SSH 客户端克隆私有存储库?
  • smartgit 什么时候会问我要使用什么 ssh 密钥?
  • 或者我应该给我的 ssh 密钥起什么名字以便 smartgit 识别它?

【问题讨论】:

  • 请在点击下一步之前发布克隆向导、存储库页面的屏幕截图

标签: linux git ssh smartgit


【解决方案1】:

我忘记了我必须添加 ssh:// 版本的 url,一旦我这样做了,smartgit 会询问我 SSH 密钥的位置,现在一切正常。

【讨论】:

    猜你喜欢
    • 2017-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-08-15
    • 2011-01-26
    • 2020-09-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多