Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430356 - rich0 access to git.overlays.gentoo.org
Summary: rich0 access to git.overlays.gentoo.org
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Gentoo Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Overlays Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 20:19 UTC by Richard Freeman
Modified: 2012-08-07 21:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2012-08-07 20:19:29 UTC
When attempting to clone a repository at git.overlays.gentoo.org using ssh+git I'm getting an access denied error.  At the moment I only need read access but I assume that if I ever wanted to push back changes I'd need to use ssh+git.

Example command line:
git clone git+ssh://rich0@git.overlays.gentoo.org/proj/sandbox.git

Result:
(/etc/issue)
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Let me know if I'm doing something wrong...  I have no issues with ssh into dev.gentoo.org.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-08-07 20:22:42 UTC
Some repos are "all devs" - others require explicit access.
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2012-08-07 20:30:09 UTC
Even if you use git:// to clone the repo, you can change the url to git+ssh later without having to re-clone it, plus you can specify in .git/config to have different pull from push urls.
Anyway, the url you are using is wrong, it should be git+ssh://git@git.overlays.gentoo.org/proj/sandbox.git and it should work now (for pull access only)
Comment 3 Richard Freeman gentoo-dev 2012-08-07 21:05:21 UTC
Thanks - I'd assumed that you'd substitute your own username - I didn't realize it would work with various different public keys on a single username.