Bug 353346 - Git with kerberized ssh fails
Summary: Git with kerberized ssh fails
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 12:57 EDT by mytygre CLA
Modified: 2015-02-28 22:21 EST (History)
3 users (show)

See Also:


Attachments

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