Re: how to pass ssh options to git?
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Nov 2, 2006, 09:20 UTC
- Message-ID
- <vpqejsm433c.fsf@ecrins.imag.fr>
- In-Reply-To
- <20061102090717.GE7468@mellanox.co.il>
"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
Host another.host ...