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

Re: [PATCH] Use SSH key from `GIT_SSH_KEY` variable if supplied

From
MMMaciej Małecki <me@mmalecki.com>
Date
Mar 20, 2012, 08:07 UTC
Message-ID
<CAKC8-7zr8JKCzMwameXvXVhCcycNG8B-dzCcPiCxrqFzGr_b8w@mail.gmail.com>
In-Reply-To
<robbat2-20120320T020552-803311730Z@orbis-terrarum.net>

W dniu 20 marca 2012 03:07 użytkownik Robin H. Johnson <robbat2@gentoo.org> napisał:

Show 11 quoted lines
> On Mon, Mar 19, 2012 at 06:55:06PM -0700,  Junio C Hamano wrote:
>> Hmm. I am somewhat torn.
>>
>> The minimalist in me finds this extraneous and unnecessary noise.  Why
>> should the user always set GIT_SSH_KEY environment variable that only
>> applies to git and does not help his other ssh sessions?  Why isn't having
>> an entry in .ssh/config to name IdentityFile sufficient?
>>
>> Would GIT_SSH_ARGS='-i /home/me/.ssh/there.pub -l me' be more appropriate?
> I'd strongly prefer a generic args support, for making it easier to use
> in deployment code.

After rethinking it, I'm also +1 on GIT_SSH_ARGS. Should I submit a patch? Sorry for noob question, but it'd go into a new e-mail thread, right?

Previous: Robin H. Johnson
Message 4 of 4 in “Use SSH key from `GIT_SSH_KEY` variable if supplied”
  1. Use SSH key from `GIT_SSH_KEY` variable if suppliedMaciej Małecki, Mar 20, 2012
  2. Junio C HamanoMar 20, 2012
  3. Robin H. JohnsonMar 20, 2012
  4. Maciej MałeckiMar 20, 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.