From: Jeffrey Walton <noloader@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: How to see command line arguments passed to program in core.sshcommand?
Date: Sun, 22 Sep 2019 23:17:59 -0400 [thread overview]
Message-ID: <CAH8yC8nVBcBntJVZ6eV+YxoBpZRx+ecC2JxGuunhxNbY2cGyFQ@mail.gmail.com> (raw)
Hi Everyone,
I'm working in an unusual setup on WIndows. I need to 'git clone' over
SSH, but a third party program has to handle the tunnel. It happens by
using this git configuration:
git config --global core.sshcommand "tunnel.exe ... <path-to-public-key>"
After I execute the 'git config' command, I open ~/.gitconfig and
ensure the path is correct and quoted per Windows standards.
So far the result has been a failed authentication, which seems to
indicate something went sideways using the public key. I don't receive
an error from Git or or the tunnel program relating to a "file not
found" (or any errors for that matter until authentication fails).
I need to spy the command line arguments being passed around, but I
have not been able to do so. 'git clone -verbose' is ineffective, and
-vvv is rejected as an unknown option.
How do I see command line arguments passed to the program in core.sshcommand?
Thanks in advance.
next reply other threads:[~2019-09-23 3:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-23 3:17 Jeffrey Walton [this message]
2019-09-23 9:24 ` How to see command line arguments passed to program in core.sshcommand? SZEDER Gábor
2019-09-23 17:18 ` Jeffrey Walton
2019-09-23 18:38 ` SZEDER Gábor
2019-09-24 17:12 ` Derrick Stolee
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8yC8nVBcBntJVZ6eV+YxoBpZRx+ecC2JxGuunhxNbY2cGyFQ@mail.gmail.com \
--to=noloader@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).