2012-02-15 53 views
2

我想要一台CentOS机器上的Gitolite服务器,但我似乎无法从Windows笔记本电脑上的Eclipse访问它。Gitolite Eclipse的'验证失败'

我可以使用命令行git(git clone [email protected]:gitolite-admin)从本地帐户和远程计算机克隆管理资源库,但是当我尝试从Eclipse执行操作时,除了Auth fail消息之外,我什么也得不到。

关键是在C:\Users\<username>\.ssh和Eclipse的SSH2 home目录指向那里。

回答

0

如果您的“Window > Preferences > Network Connections > SSH2”是正确的,请确保这与undefined GIT_SSH environment variable无关(在bug 326526之后,正如我在“Egit Refuses to accept id_rsa”中所述)。

当然,请确保您使用的是最新版本的EGit(否则您可能仍会面临像bug 356233: "EGit needs to clear cached passwords if ssh authentication fails"这样的错误)。
请注意,如果您的私钥有密码短语,则有pending bug (352385)(或仔细检查您的密码did entered your password correctly)。