2016-09-15 39 views
-2

我使用Git版本2.6.2.windows.1,我突然開始得到如下錯誤信息,同時對克隆的git bash的git倉庫: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. 
+0

你使用的是什麼版本的Git?在哪個操作系統? (在服務器端的相同問題) – VonC

+0

git版本2.6.2和客戶端的Windows 7。 git版本1.7.1和服務器端的RedHat 6.3 – devops

+0

之前是否工作?什麼改變了? – VonC

回答

-1

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

相關問題