Bug 305776 - git problems with restricted shell
Summary: git problems with restricted shell
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Denis Roy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 15:26 EST by David Green CLA
Modified: 2010-05-03 15:09 EDT (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 David Green CLA 2010-03-13 15:26:57 EST
I'm having troubles accessing git on git.eclipse.org.  I'm using the credentials for committer id dgreen.  Here are the symptoms:

pre. 
dgreen$ git clone ssh://dgreen@git.eclipse.org/gitroot/mpc/org.eclipse.epp.mpc epp-mpc
Initialized empty Git repository in /Users/dgreen/Documents/tasktop/epp-mpc/.git/
Password: 
Not allowed to do 'git-upload-pack' at /usr/bin/cvssh line 126.
fatal: The remote end hung up unexpectedly

I've verified that I'm using the correct username and password by logging into git.eclipse.org via ssh:

pre. 
dgreen$ ssh dgreen@git.eclipse.org
Password: 
... snip welcome message...
r$ exit
Not allowed to do 'exit' at /usr/bin/cvssh line 126, <STDIN> line 1.
Connection to git.eclipse.org closed.

Please note that with the Helios M6 deadline quickly approaching it would be great if someone could look into this problem as soon as possible.  Thanks!
Comment 1 Denis Roy CLA 2010-03-13 16:32:30 EST
This is associated with our restricted shell. I have given you a real shell so that you can do your work, and I'll fix this in the background.
Comment 2 David Green CLA 2010-03-13 19:26:04 EST
Thanks, it's working well for me now.  Feel free to resolve this issue if there's nothing left to do here.
Comment 3 Eclipse Webmaster CLA 2010-04-30 13:32:40 EDT
I've updated our default shell to handle git commands.  Let me know if there are any problems.

-M.
Comment 4 Denis Roy CLA 2010-05-03 15:09:10 EDT
David, I've set your shell back to the restricted shell to see if it works well with git.  If you have any problems, just post here and we'll fix it up real quick.