From: Dennis Stosberg Date: Thu, 02 Nov 2006 11:06:39 GMT Subject: Re: how to pass ssh options to git? Message-ID: <20061102110639.G523a966f@leonov.stosberg.net> In-Reply-To: <20061102093153.GF7468@mellanox.co.il> 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. Regards,