I'm using Gitolite for version control.
I want to restrict public access on Gitolite.
When anonymous tried to access Git repository, I want to force a prompt for authentication.
How can I restrict public access on Gitolite?
Thank you.
I'm using Gitolite for version control.
I want to restrict public access on Gitolite.
When anonymous tried to access Git repository, I want to force a prompt for authentication.
How can I restrict public access on Gitolite?
Thank you.
The goal of gitolite is to restrict public access, so you are on the right track.
See "How do programs like gitolite work?".
If your Gitolite server offers only SSH, then any anonymous access will have to follow the directives of your Gitolite conf file.
Unless that configuration file in your gitolite-admin repo references the special group @all
, then an anonymous access would be denied.
If your Gitolite server offers an HTTPS listener, then the authentication burden lies with that HTTPS server: see "Need a password prompt for GITOLITE": gitolite is an authorization service, not an authentication one.