'How to Figure Which SSH Client is Used by Git in Git Bash on Windows
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 1:[1]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | VonC |
