Re: [PATCH] Use SSH key from `GIT_SSH_KEY` variable if supplied
- From
Robin H. Johnson <robbat2@gentoo.org>
- Date
- Mar 20, 2012, 02:07 UTC
- Message-ID
- <robbat2-20120320T020552-803311730Z@orbis-terrarum.net>
- In-Reply-To
- <7vhaxk829x.fsf@alter.siamese.dyndns.org>
On Mon, Mar 19, 2012 at 06:55:06PM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> 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.
-- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85