1

I'm new to git.

I need to use public key to push changes from my repo. How can I administer users ? If i want delete an user ?

Is The public key management the only way to administer a git system ?

3
  • It sounds like you are trying to use git over ssh. git relies on ssh "just working" but all user authentication / public key issues are solely handled by ssh and are not directly anything to do with git. Commented Mar 31, 2011 at 10:30
  • Please let us know what Git server you use. gitolite? gitosis? A file share? Commented Mar 31, 2011 at 10:30
  • @Alexander Groß I use gitosis Commented Mar 31, 2011 at 11:02

1 Answer 1

1

If you are using the ssh protocol to access your git repo, then yes, you need to add a public key to the ~/.ssh/authorized_keys of the user account managing said repos.

But ssh is hardly the only protocol available to access your repo: see the Pro Git book: a simple shared path (local protocol) can be enough at first (no server, no key, but also no authentication).

Note: as explained in this Gitolite man page "Gitolite without ssh", Gitolite manages only authorization, not authentication.
You can use ssh for its authentication capabilities.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.