I have figured it out.  When originally setting up GitLab, I used my 
personal ssh key for the admin, and not myself.  Figured this out when I 
saw my user had not SSH key, and when adding, was told the key already 
existed.  Created a new key for the admin and then added mine as myself, 
and now it is working as expected.  Thanks,

On Monday, September 14, 2015 at 1:02:08 PM UTC-4, Geoff Nicol wrote:
>
> All users clone/push/pull via the git@gitrepo... user.
>
> This is confusing at first; how does GitLab know which user is really 
> doing the work if the user id is always git?!?!
>
> The trick is your SSH key.
>
> Each user needs to upload their public SSH key to the GitLab application.
>
> When someone does a clone/push/pull GitLab recognizes which SSH key they 
> are coming in on and determines the GitLab user involved based on that.
>
> So long story short; everyone deals with git@gitrepo... but because each 
> user has a different SSH key when talking to it GitLab still knows who they 
> are.
>
>
> GitHub and other systems take a comparable approach. It avoids having to 
> create a true system account on the server for each user.
>
> -Geoff
>
> On Mon, Sep 14, 2015 at 9:45 AM, no one <longis...@gmail.com <javascript:>
> > wrote:
>
>> Hello All,
>> Need a little help.
>> Have gitlab ce up and running locally, and have individual users 
>> configured.  Here is the problem.
>> When I pull from a remote and add/modify a file, upon commit, I can see 
>> that the that user who performed the commit/new file addition is marked in 
>> the local repository as the actual user name.
>> When I perform a git push to push the local changes to the remote 
>> repository, all actions are being taken under the 'git' user.
>>
>> Looking at git remote -s I see git@gitrepo:...
>> I changed this to be my user and now the above command shows: 
>> myuser@gitrepo:... so it looks correct.  When I attempt to push using my 
>> user on the ssh connection string, I get prompted for a password, and get a 
>> 'Permission denied' error.  Note that if I attempt to do a pull using my 
>> user instead of the 'git' user, I also get the same error.
>>
>> The question is, how do I configure gitlab to allow each individual user 
>> to be able to pull and push from the repository?  Did I do something wrong 
>> setting up the repository where all items are owned by the 'git' user?  
>> NOTE:  the original repository for this project was created by 
>> 'Administrator', and I am a member of the group allowed to access this 
>> project.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GitLab" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to gitlabhq+u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/gitlabhq/99b0f8b2-e3a8-4cb7-ac59-3856b98e33cb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/gitlabhq/99b0f8b2-e3a8-4cb7-ac59-3856b98e33cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/bdfa6176-2b5a-4e2c-af70-2a347c99243e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to