【问题标题】:GIT-No supported authentication methods availableGIT-没有可用的受支持的身份验证方法
【发布时间】:2016-09-16 20:40:54
【问题描述】:

我使用的是 git 版本 2.6.2.windows.1,我在 git bash 上克隆 git 存储库时突然开始收到以下错误消息:

$ git clone URL && scp -p -P 29418 URL:hooks/xxxxx/.git/hooks/
Cloning into 'xxxx'...
FATAL ERROR: Disconnected: No supported authentication methods available
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

【问题讨论】:

  • 你使用的是什么版本的 Git?在哪个操作系统上? (服务器端同样的问题)
  • git 版本 2.6.2 和客户端的 windows 7。服务器端的 git 版本 1.7.1 和 RedHat 6.3
  • 之前是否有效?发生了什么变化?
  • 是的,它以前工作过。 AFAIK 没有任何改变
  • 你需要检查你的 ssh 连接:ssh -Tv git@yourServer

标签: git ssh


【解决方案1】:

export Git_SSH=/c/Users/user-name/AppData/Local/Programs/Git/bin/ssh.exe 让它工作。

【讨论】:

    猜你喜欢
    • 2011-03-26
    • 2018-04-02
    • 2022-01-11
    • 2016-05-26
    • 1970-01-01
    • 1970-01-01
    • 2014-02-11
    • 2018-05-21
    • 2014-11-07
    相关资源
    最近更新 更多