使用sourceTree時,配置好了sshkey,可是仍是沒法拉取和推送代碼,一直報下方的錯誤:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin Access denied Access denied Access denied Access denied Access denied FATAL ERROR: Server sent disconnect message type 2 (protocol error): "Too many authentication failures for git" fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 完成時帶有錯誤,見上文。
先確保sshkey設置正確,而後下圖所示的地方,修改成OpenSSH.
本文同步分享在 博客「IT雲清」(CSDN)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。java