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

Re: git + ssh + key authentication feature-request

From
Nicolas Vilz 'niv' <niv@iaglans.de>
Date
Feb 9, 2006, 00:33 UTC
Message-ID
<43EA8DDA.3070906@iaglans.de>
In-Reply-To
<7v4q39o3xs.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 8 quoted lines
> Nicolas Vilz 'niv' <niv@iaglans.de> writes:
> 
> 
>>in my case it would be only one system-user which has full access to
>>several repositories. At this time, the users which use that account,
>>have to give a password, which isn't that bad... it would be easier
>>and more secure for me, not to give a password, but ask the users for
>>the ssh pubkey..
[... how sshd operates ...]
Show 5 quoted lines
> You _could_ tell them to use the same -l option and log-in as
> the same UNIX user with their own keys, though.  But that way
> you cannot tell which developer pushed into the repository (of
> course if you trust the commits, commit log message would say
> the committer ident).
I think this (last) scenario would match my thoughts best :)

Exactly that was, what i was trying to do, although I couldn't tell git to send my identify-file. That was (more or less) my initial-question (howto do that, the ssh option -i) :)

You got a point which i haven't recognized, yet...

I really can't tell later on which developer pushed unless i trust the commit-messages. I will think about that.

So, how do i tell git to send my identity-file to sshd? And could I set an alias like in .git/remotes for that location / identity?

Thank you very much for your explanations and help.

Sincerly Nicolas

Previous: Mark WoodingNext: Linus Torvalds
Message 10 of 15 in “git + ssh + key authentication feature-request”
  1. Nicolas Vilz 'niv'Feb 8, 2006
  2. Junio C HamanoFeb 8, 2006
  3. Nicolas Vilz 'niv'Feb 8, 2006
  4. Linus TorvaldsFeb 8, 2006
  5. Nicolas Vilz 'niv'Feb 9, 2006
  6. Junio C HamanoFeb 8, 2006
  7. Mark WoodingFeb 9, 2006
  8. Junio C HamanoFeb 9, 2006
  9. Mark WoodingFeb 9, 2006
  10. Nicolas Vilz 'niv'Feb 9, 2006
  11. Linus TorvaldsFeb 8, 2006
  12. Nicolas Vilz 'niv'Feb 9, 2006
  13. Junio C HamanoFeb 8, 2006
  14. Nicolas Vilz 'niv'Feb 9, 2006
  15. Alan ChandlerFeb 8, 2006

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.