git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: User authentication in GIT

From
compufreak <compufreak@gmail.com>
Date
Feb 7, 2012, 12:31 UTC
Message-ID
<CAO54GHA0Usa7D=m012gnObXYpdTVTjeeZUp47xnCJ7cDaJqTqg@mail.gmail.com>
In-Reply-To
<1328615262741-7262113.post@n2.nabble.com>
Inline respon
On Tue, Feb 7, 2012 at 12:47 PM, supadhyay <supadhyay@imany.com> wrote:
Show 6 quoted lines
> Hi Robin and Jakub,
> ...
> Robin:
> All users must have their own SSH key. You do not create keys for them.
> My rely: can you please give some more idea about how it works.. I am not
> getting this or if you can provide any link for this to understand.

SSH authentication can use private/public keys. The user generates a keypair on their computer and gives you their public key, the private key stays on their computer.

Show 7 quoted lines
>
> Jakub:
> My reply: existing version control system used  pserver protocol.
>
> You would still need for each user to generate their own SSH key.
> My reply: Do I need to store all end users sSH key in .ssh/authorized_keys
> file on GIT server?

If you were to do it manually, yes. But if you use gitolite [1], then you add them to another git repository which handles everything for you.

Show 7 quoted lines
> --
> View this message in context: http://git.661346.n2.nabble.com/User-authentication-in-GIT-tp7261349p7262113.html
> Sent from the git mailing list archive at Nabble.com.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
[1]: https://github.com/sitaramc/gitolite
Previous: supadhyayNext: Johan Herland
Message 5 of 13 in “User authentication in GIT”
  1. supadhyayFeb 7, 2012
  2. Robin H. JohnsonFeb 7, 2012
  3. Jakub NarebskiFeb 7, 2012
  4. supadhyayFeb 7, 2012
  5. compufreakFeb 7, 2012
  6. Johan HerlandFeb 7, 2012
  7. supadhyayFeb 7, 2012
  8. Sitaram ChamartyFeb 7, 2012
  9. supadhyayFeb 10, 2012
  10. Sitaram ChamartyFeb 11, 2012
  11. supadhyayFeb 13, 2012
  12. Sitaram ChamartyFeb 13, 2012
  13. supadhyayFeb 13, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.