From: "Raymond E. Pasco" <ray@ameretat.dev>
To: "Johannes Sixt" <j6t@kdbg.org>
Cc: <git@vger.kernel.org>
Subject: Re: [PATCH v2] ssh: add 'ssh.keyfile' option
Date: Thu, 23 Apr 2020 23:24:28 -0400 [thread overview]
Message-ID: <C2947F3O0OB7.2XJGV8LYVERWN@nietzsche.my.domain> (raw)
In-Reply-To: <d26f8556-ed9b-5145-735b-d348449bb31d@kdbg.org>
On Thu Apr 23, 2020 at 7:24 PM, Johannes Sixt wrote:
> Then attach the invented name to the real host name and the identity in
> your ~/.ssh/config:
>
>
> Host other.github.com
> Hostname github.com
> Identity ~/.ssh/id_other_ed25519
This works for my purposes. The exact block I needed:
Host fake.host
Hostname real.host
IdentityFile ~/.ssh/alt_ed25519
IdentitiesOnly yes
next prev parent reply other threads:[~2020-04-24 3:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 6:41 [PATCH] ssh: add 'ssh.keyfile' option Raymond E. Pasco
2020-04-23 11:21 ` [PATCH v2] " Raymond E. Pasco
2020-04-23 17:24 ` Johannes Sixt
2020-04-23 19:32 ` Junio C Hamano
2020-04-24 3:24 ` Raymond E. Pasco [this message]
2020-04-23 18:03 ` Matthias Aßhauer
2020-04-23 19:38 ` Junio C Hamano
2020-04-24 4:33 ` Matthias Aßhauer
2020-04-25 9:43 ` [PATCH] connect.c: clarify BUG() messages in push_ssh_options Matthias Aßhauer
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=C2947F3O0OB7.2XJGV8LYVERWN@nietzsche.my.domain \
--to=ray@ameretat.dev \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.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).