Marwa Dosoky
Marwa Dosoky

Reputation: 416

Authenticating Git Repository regardless the server authentication

"Git" gurus, could you please help me in something

As far as I know, Git access could be manipulated through server user/group authentication. but is there is any way that I can use another access authentication regardless the OS server authentication?

I mean like SVN, Users only defined for SVN

Upvotes: 1

Views: 43

Answers (1)

VonC
VonC

Reputation: 1324977

You can use ssh, combined with Gitolite (an access control library in Perl, for Git): that will use the matching between ssh public key, and the username defined only for Gitolite.

See more at "How do programs like gitolite work?".


If you are using/installing Git hosting services like GitLab (ruby) or GitbLit (java), then the users can be defined in a dedicated database for those services.


In both cases, the user authentication doesn't rely on the OS.

Upvotes: 1

Related Questions