Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Nicolas Vilz 'niv' <niv@iaglans.de>
Cc: git@vger.kernel.org
Subject: Re: git + ssh + key authentication feature-request
Date: Wed, 08 Feb 2006 15:55:34 -0800	[thread overview]
Message-ID: <7vzml1mmmh.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <43EA8DDA.3070906@iaglans.de> (Nicolas Vilz's message of "Thu, 09 Feb 2006 01:33:30 +0100")

Nicolas Vilz 'niv' <niv@iaglans.de> writes:

> So, how do i tell git to send my identity-file to sshd? And could I
> set an alias like in .git/remotes for that location / identity?

That is not a git question but you are using me as an ssh
helpdesk.  See ssh_config(5).

The answers are:

	IdentityFile
        User

For example, I have this in my .ssh/config on my local machine:

    Host osiris.pyramid.com
      User junio
      IdentityFile ~/.ssh/osiris-pub
      ForwardAgent no
      ForwardX11 no

Without "User", it would send out "junkio", so I have that line
to override it (I could do it with -l command line, but there is
no point because that is I would use _always_ to go there).
Without "IdentityFile" it would use ~/.ssh/identity (same
rationale with -i), which is the identity file I usually use for
other sites.

  parent reply	other threads:[~2006-02-08 23:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 22:42 git + ssh + key authentication feature-request Nicolas Vilz 'niv'
2006-02-08 21:58 ` Junio C Hamano
2006-02-08 23:23   ` Nicolas Vilz 'niv'
2006-02-08 22:45     ` Linus Torvalds
2006-02-09  0:43       ` Nicolas Vilz 'niv'
2006-02-08 22:56     ` Junio C Hamano
2006-02-09  0:14       ` Mark Wooding
2006-02-09  0:40         ` Junio C Hamano
2006-02-09  0:55           ` Mark Wooding
2006-02-09  0:33       ` Nicolas Vilz 'niv'
2006-02-08 23:50         ` Linus Torvalds
2006-02-09  1:16           ` Nicolas Vilz 'niv'
2006-02-08 23:55         ` Junio C Hamano [this message]
2006-02-09  1:06           ` Nicolas Vilz 'niv'
2006-02-08 23:35     ` Alan Chandler

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=7vzml1mmmh.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=niv@iaglans.de \
    /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