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

Re: [RFC/PATCH] connect: add GIT_SSH_{SEND,RECEIVE}{,_COMMAND} env variables

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 3, 2018, 23:32 UTC
Message-ID
<xmqq373mh62r.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20180103102840.27897-1-avarab@gmail.com>
Ævar Arnfjörð Bjarmason  <avarab@gmail.com> writes:
Show 5 quoted lines
> This is useful for talking to systems such as Github or Gitlab that
> identify user accounts (or deploy keys) by ssh keys. Normally, ssh
> could do this itself by supplying multiple keys via -i, but that trick
> doesn't work on these systems as the connection will have already been
> accepted when the "wrong" key gets rejected.
You need to explain this a lot better than the above.  

I am sure systems such as Github have more than dozens of users who push over ssh and these users identify themselves by which key to use when establishing connection just fine (presumably by using a "Host" entry for the github URL in ~/.ssh/config), and presumably we are not sending "wrong" keys over there. So there needs to be a lot more clear description of the problem you are trying to solve in the first place.

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 8 in “connect: add GIT_SSH_{SEND,RECEIVE}{,_COMMAND} env variables”
  1. connect: add GIT_SSH_{SEND,RECEIVE}{,_COMMAND} env variablesÆvar Arnfjörð Bjarmason, Jan 3, 2018
  2. Junio C HamanoJan 3, 2018
  3. Ævar Arnfjörð BjarmasonJan 4, 2018
  4. Jeff KingJan 4, 2018
  5. Ævar Arnfjörð BjarmasonJan 4, 2018
  6. Jeff KingJan 4, 2018
  7. Ævar Arnfjörð BjarmasonJan 4, 2018
  8. Junio C HamanoJan 4, 2018

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.