git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to see command line arguments passed to program in core.sshcommand?
@ 2019-09-23  3:17 Jeffrey Walton
  2019-09-23  9:24 ` SZEDER Gábor
  2019-09-24 17:12 ` Derrick Stolee
  0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey Walton @ 2019-09-23  3:17 UTC (permalink / raw)
  To: Git List

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-24 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-23  3:17 How to see command line arguments passed to program in core.sshcommand? Jeffrey Walton
2019-09-23  9:24 ` 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

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).