使用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.