Issue
I want to figure which SSH client is used by git commands when running git bash on windows. Is there any git command I can run that will display the ssh client path?
Solution
With a recent enough git version
, you can use trace2 to display what Git is trying to do:
GIT_TRACE2=1 git clone [email protected]:<me>/<myrepo>
GIT_TRACE2_EVENT=1 git clone [email protected]:<me>/<myrepo>
You can also set the GIT_SSH_COMMAND
environment variable to ssh
(including its full path) if you want to make sure which SSH client is used.
Answered By - VonC Answer Checked By - Katrina (WPSolving Volunteer)