source tree Access denied FATAL ERROR: Server sent disconnect message type 2 (protocol error) "Too

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

 

posted @ 2021-08-05 09:55  smile008  阅读(1030)  评论(0编辑  收藏  举报