* SSH keys location
@ 2010-04-22 18:40 Mahesh Vaidya
2010-04-22 18:42 ` Shawn O. Pearce
0 siblings, 1 reply; 2+ messages in thread
From: Mahesh Vaidya @ 2010-04-22 18:40 UTC (permalink / raw)
To: git
Hi
I have a situation where I must save my private keys location other
than ~/.ssh ; How do I tell git URL that please take public key from
so and so location equivalent of ssh -i <identity-file> flag
example my clone command is
git clone gitosis@server:repos.git
Thank You
-Mahesh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SSH keys location
2010-04-22 18:40 SSH keys location Mahesh Vaidya
@ 2010-04-22 18:42 ` Shawn O. Pearce
0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2010-04-22 18:42 UTC (permalink / raw)
To: Mahesh Vaidya; +Cc: git
Mahesh Vaidya <forvaidya@gmail.com> wrote:
> I have a situation where I must save my private keys location other
> than ~/.ssh ; How do I tell git URL that please take public key from
> so and so location equivalent of ssh -i <identity-file> flag
>
> example my clone command is
>
> git clone gitosis@server:repos.git
Just use ~/.ssh/config to rewrite the options:
Host server
IdentityFile /some/private/key/path
--
Shawn.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-22 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 18:40 SSH keys location Mahesh Vaidya
2010-04-22 18:42 ` Shawn O. Pearce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).