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

Re: how to pass ssh options to git?

From
MTMichael S. Tsirkin <mst@mellanox.co.il>
Date
Nov 2, 2006, 09:31 UTC
Message-ID
<20061102093153.GF7468@mellanox.co.il>
In-Reply-To
<vpqejsm433c.fsf@ecrins.imag.fr>
Quoting r. Matthieu Moy <Matthieu.Moy@imag.fr>:
Show 14 quoted lines
> Subject: Re: how to pass ssh options to git?
> 
> "Michael S. Tsirkin" <mst@mellanox.co.il> writes:
> 
> > How is it possible to pass ssh options to git?
> > for example, I use these options to log into some machine:
> > ssh -i <private> -o HostKeyAlias=<alias> -p <port> -l <user> <address>
> 
> Not answering the question, but this can go to ~/.ssh/config :
> 
> Host *.domain.net
> User some_user
> IdentityFile ~/.ssh/foobar
> 

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?

Previous: Matthieu MoyNext: Dennis Stosberg
Message 3 of 8 in “how to pass ssh options to git?”
  1. Michael S. TsirkinNov 2, 2006
  2. Matthieu MoyNov 2, 2006
  3. Michael S. TsirkinNov 2, 2006
  4. Dennis StosbergNov 2, 2006
  5. Michael S. TsirkinNov 2, 2006
  6. Linus TorvaldsNov 2, 2006
  7. Shawn PearceNov 2, 2006
  8. Nicolas Vilz 'niv'Nov 2, 2006

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.