Re: how to pass ssh options to git?
- From
- Michael S. Tsirkin <mst@mellanox.co.il>
- Date
- Nov 2, 2006, 11:27 UTC
- Message-ID
- <20061102112720.GA8469@mellanox.co.il>
- In-Reply-To
- <20061102110639.G523a966f@leonov.stosberg.net>
Quoting r. Dennis Stosberg <dennis@stosberg.net>:
Show 14 quoted lines
> Subject: Re: how to pass ssh options to git? > > Michael S. Tsirkin wrote: > > > I know, problem is I want to use different options at different times. > > I could use -F configfile ssh option, but how to pass *that* to git? > > You can set the path of the ssh executable to use with the GIT_SSH > environment variable. Create a shell script like > > #!/bin/sh > exec ssh --your-options-- $* > > and make GIT_SSH point to it.
Thanks, I'll try that. BTW, just grep for GIT_SSH gets me some more: GIT_SSH_UPLOAD, GIT_SSH_PUSH, GIT_SSH_PULL, GIT_SSH_FETCH. None of which appear to be documented.