From: Robin H. Johnson Date: Tue, 20 Mar 2012 02:07:11 GMT Subject: Re: [PATCH] Use SSH key from `GIT_SSH_KEY` variable if supplied Message-ID: In-Reply-To: <7vhaxk829x.fsf@alter.siamese.dyndns.org> 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. -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85