From: Andreas Schwab <schwab@linux-m68k.org>
To: "Lamborn, Peter Craig" <plamborn@lanl.gov>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>,
"Nielsen, Johnathan Patrick" <jnielsen@lanl.gov>,
"Herrera, Thomas Anthony" <taherrera@lanl.gov>
Subject: Re: GIT_SSH and mirror not working with git 2.30.1
Date: Tue, 16 Mar 2021 20:55:18 +0100 [thread overview]
Message-ID: <87r1keyiu1.fsf@igel.home> (raw)
In-Reply-To: <e39d23615e084671965fc96174ac881e@lanl.gov> (Peter Craig Lamborn's message of "Tue, 16 Mar 2021 18:53:24 +0000")
On Mär 16 2021, Lamborn, Peter Craig wrote:
> workstation$ cat ssh-hop.sh
> #!/bin/bash
>
> MACHINE_REGEXP="<...>"
>
> if [[ $1 =~ $MACHINE_REGEXP ]]; then
>
> exec ssh <gateway> ssh "$@"
>
> else
> exec ssh "$@"
> fi
FWIW, it might be easier to use the ProxyJump configuration setting of
ssh instead.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2021-03-16 19:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 18:53 GIT_SSH and mirror not working with git 2.30.1 Lamborn, Peter Craig
2021-03-16 19:55 ` Andreas Schwab [this message]
2021-03-16 20:33 ` Jeff King
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=87r1keyiu1.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=git@vger.kernel.org \
--cc=jnielsen@lanl.gov \
--cc=plamborn@lanl.gov \
--cc=taherrera@lanl.gov \
/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.