Gitolite Eclipse 'Auth fail'

放肆的年华 提交于 2019-12-11 01:54:01

问题


I am trying to get a Gitolite server going on a CentOS machine, but I can't seem to access it from an Eclipse on a Windows laptop.

I can clone the admin repository from a local account and from the remote computer with command line git, (git clone git@192.168.2.96:gitolite-admin) but when I try to do it from Eclipse I get nothing but Auth fail messages.

The key is in C:\Users\<username>\.ssh and Eclipse's SSH2 home directory is pointing there.


回答1:


If your "Window > Preferences > Network Connections > SSH2" are correct, make sure this isn't related to an undefined GIT_SSH environment variable (following bug 326526, as I mentioned in "Egit Refuses to accept id_rsa").

Of course, make sure you are using the latest version of EGit (otherwise you may still face bugs like bug 356233: "EGit needs to clear cached passwords if ssh authentication fails").
Note that if your private key has a passphrase, there is a pending bug (352385) (or double check you did entered your password correctly).



来源:https://stackoverflow.com/questions/9303235/gitolite-eclipse-auth-fail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!