我已經在這裏閱讀了GitHub的相關問題,但是找不到解決問題的線索。我已經創造了新的git回購和現在我試圖把它推到GitHub上:git push origin master:錯誤:斷開連接:沒有支持的驗證方法可用
git remote add origin [email protected]:clergyman/first_app.git
git push origin master
我得到:
FATAL ERROR: Disconnected: No supported authentication methods available
fatal: The remote end hung up unexpectedly
ssh [email protected]
工作正常。
我在32位Windows 7上運行。
GitHub全局設置也很好。有任何想法嗎?
令人驚訝的我找到了解決辦法,所以我把它放在這裏。整個問題是因爲當試圖通過SSH(> git push origin master)建立連接時,git試圖使用PUTTY,當> ssh [email protected]時,它使用ssh客戶端,它使用git install package。所以對我來說,以下方面有所幫助:我重新安裝了git,當嚮導問什麼ssh客戶端使用時,我這次檢查了OpenSSH!所以,膩子出現了萬惡之源。祝大家好運。 – Clergyman
使用HTTPS推送。這樣更容易。 –