I am trying to access a private remote SSH git repository through the Eclipse 'egit' module. I am running Eclipse on Windows. Eclipse does not work automatically with putty pagent for forwarding authorization, and I can not find the documentation about SSH configuration used by egit (for example, to use plink.exe).
I found documentation on the Internet about setting up other Windows git clients to use putty / plink (e.g. for msysgit), but I can not find anything about Eclipse egit and putty (or eclipse).
I am sure that the ssh key works fine, since I use it all the time to log into the server with Putty.
In particular, I use the git repository viewer, click "Clone Remote Repository", fill in the host, repository path, protocol (ssh) and user. I Click Next. I can say that this is due to the fact that I get a pop-up window with a unique banner on the server. Then i get
Transport Error: Cannot list the available branches: Reason: <URI>: Auth fail
The ssh login is only by sshkey, so why it doesn't work (but at least it shows that I have the basics).
Does anyone have success with egit + pageant? Or do you know if this is simply impossible?
Update
This does not seem to work because Eclipse uses the internal SSH implementation (jsch) for pure Java, and that the Eclipse implementation contains (so far) authorization agent protocol support.
Some fixes to support ssh platform agents through them have been proposed (thanks to @Janning for the link). See This Eclipse Error 179924 . Update No. 24 includes this encouraging note about the proposed fixes:
I confirmed that I can access http://github.com/ and clone some projects using egit with the site.
I'm not quite sure, but it seems that the current hangs are some licensing issues in the pure-java unix domain socket library and an update to the pure-java SSH implementation that Eclipse uses.
A more recent bug ( number 360663 ) indicates that the required jsch version was tied to Eclipse (and as far as I can tell, should be part of the next release - should be the end of June 2012).