All of lore.kernel.org
 help / color / mirror / Atom feed
From: oliverw <oliver@weichhold.com>
To: git@vger.kernel.org
Subject: GIT over ssh with identity file
Date: Wed, 4 Feb 2009 00:37:18 -0800 (PST)	[thread overview]
Message-ID: <21826348.post@talk.nabble.com> (raw)


Forgive me if this has been answered before. I've searched everywhere but
couldn't find a solution.

Is it somehow possible to pass your private key file to git when working
over ssh. What I have in mind would be something like this:

git -i /path/to/private/key clone ssh://homer@foo.bar.com/var/git/repos.git 

Since I want to use this on a server I would like to avoid using a password
caching agent at all cost.

-- 
View this message in context: http://www.nabble.com/GIT-over-ssh-with-identity-file-tp21826348p21826348.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2009-02-04  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  8:37 oliverw [this message]
2009-02-04  8:41 ` GIT over ssh with identity file Junio C Hamano
2009-02-04  8:50   ` Matthieu Moy
2009-02-04  9:25     ` Junio C Hamano

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=21826348.post@talk.nabble.com \
    --to=oliver@weichhold.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.