From: "Shawn O. Pearce" <spearce@spearce.org>
To: Mahesh Vaidya <forvaidya@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: SSH keys location
Date: Thu, 22 Apr 2010 11:42:39 -0700 [thread overview]
Message-ID: <20100422184239.GA29426@spearce.org> (raw)
In-Reply-To: <v2rb42431c81004221140n31c76030m74656d01950b8ae0@mail.gmail.com>
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.
prev parent reply other threads:[~2010-04-22 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 18:40 SSH keys location Mahesh Vaidya
2010-04-22 18:42 ` Shawn O. Pearce [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100422184239.GA29426@spearce.org \
--to=spearce@spearce.org \
--cc=forvaidya@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).