Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321062

Summary: GIT_SSH environment variable is not honored.
Product: [Technology] JGit Reporter: Marc Mengel <mengel>
Component: JGitAssignee: Shawn Pearce <sop>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk, chris.h.green, mn, sop, stefan.lay
Version: unspecifiedKeywords: noteworthy
Target Milestone: 0.10.0   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=320793
Whiteboard:

Description Marc Mengel CLA 2010-07-27 15:35:24 EDT
Build Identifier: M20100211-1343


One is unable to get gssapi-with-mic over kerberos, or plian gssapi over kerberos authentication working with the java-ssh libraries.  There are external ssh binaries availaible which do so, and the GIT_SSH environment variable is the documented method for using such an external ssh executable.

In general, there will always be *some* obscure authentication method that the java SSH library does not support, but for which an executable exists in a users environment, so the ability to use GIT_SSH to specify an external ssh executable is desparately needed, along the lines of CVS_RSH and SVN_SSH, all
of which work with Eclipse.

Reproducible: Always

Steps to Reproduce:
1.Set GIT_SSH in the environment
2.Use eclipse to attempt to clone a git repository with a git+ssh://... uri

Note that the GIT_SSH you set is not used.
Comment 1 Marc Mengel CLA 2010-07-28 16:48:30 EDT
Note that this would also fix 320793, as this would let you use "plink.exe" on windows as the external ssh exeuctable.
Comment 2 Stefan Lay CLA 2010-09-07 05:17:08 EDT
Contributions welcome
Comment 3 Shawn Pearce CLA 2010-12-03 19:34:57 EST
Fixed by change Ia18ea49d58f3ed657430067f1f72ef788a2dae4c