【发布时间】:2018-02-28 22:43:21
【问题描述】:
我使用源树,
当我需要 git clone 时,尝试使用 sourcetree。
我的网址ssh://git@192.168.3.98:/mydirectory/111.git
但发生这不是有效的源路径/URL 我检查细节。
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote
ssh://git@192.168.3.98:/var/www/git.repos/git.src/blackeye/iosplayer.git
Output:
Error: 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.
然后我搜索谷歌。 可能是ssh客户端配置问题,设置mercurial和设置git。
我设置了 SSH 客户端配置。 设置 ssh 密钥,ssh 客户端 putty plink。
而 mercurial 和 git 总是更新
如何解决这个问题?
【问题讨论】: