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