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

Bug 353346

Summary: Git with kerberized ssh fails
Product: [Technology] EGit Reporter: mytygre
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: liblit, robin.rosenberg, rupert.thurner
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description mytygre CLA 2011-07-28 12:57:41 EDT
Overview:

git supports ssh as the transport for communication between the local machine and a remote repository.  At the command line there are no problems accessing a remote repository using kerberized ssh.  However, egit/jgit fails with "Auth fail"  There are no other error messages propagated.  

Other eclipse plugins work with kerberized ssh (CVS, RSE, etc) so I do not believe it is an issue with Eclipse core.

Steps to Reproduce:
    1) Follow instructions at http://wiki.eclipse.org/EGit/User_Guide#Working_with_remote_Repositories to clone a remote project.
    2) In the clone Git Repository window, enter in the host, repo path, select ssh for the protocol and enter the username.
    3) Click Next

Actual Results:
    An error message will appear saying: "Cannot list the available branches.  Reason: ssh://username@host/path: Auth fail."  Username, host, and path are filled in in the error message.

Expected Results:
    I assume that the plugin should list branches or at least the master so that I can select something to clone.

Build Date & Platform:
    Eclipse Version: Indigo
    Build: 20110615-0604 on Fedora 14 (Gnome)
    EGit plugin version:  1.0.0.201106090707-r

Additional Builds and Platforms:
    Same bug occurs on Mac Leopard (Same Eclipse version)
Comment 1 Robin Rosenberg CLA 2013-01-24 01:40:31 EST
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265711 may provide some tips
Comment 2 rupert THURNER CLA 2014-03-30 13:54:56 EDT
does it happen if you use the self contained command line downloadable here:
http://www.eclipse.org/jgit/download/
?