Reputation: 927
I try to google but not manage to find the answer.
I would like to ask how to create a list of username / password after creating an empty repository.
I have done some research and probably here are a few clues.
a) Generate public / private key instead and give the key to the git user.
b) Use something like git-credential-wincred or git-credential-winstore.
What option would allow me to manage user/password authentication?
Upvotes: 3
Views: 41
Reputation: 1323573
Git itself does not support authentication. Only the listener (ssh or http) which will then call git does.
git-credential-xxx
is only on the client side (to avoid entering the password). It is not relevant on the server side.
Adding an authorization layer like gitolite can help you store public ssh keys for the ssh authentication. You should not generate private keys and give them to a user (or the private key would not be private anymore).
Upvotes: 3