Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321062 - GIT_SSH environment variable is not honored.
Summary: GIT_SSH environment variable is not honored.
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 4 votes (vote)
Target Milestone: 0.10.0   Edit
Assignee: Shawn Pearce CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2010-07-27 15:35 EDT by Marc Mengel CLA
Modified: 2010-12-05 20:15 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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