Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
2.2 via Chocolatey.
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Win 7 SP2
CMD or Powershell. Often via VS Code integrated terminal.
ssh [email protected]
What did you expect to occur after running these commands?
I expect to use the Win32 OpenSSH port instead of the tweaked OpenSSL. Here's the link to the project
What actually happened instead?
It didn't use it.
This should work:
git config --global --add core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
[x] I was not able to find an open or closed issue matching what I'm seeing
I found two: https://github.com/git-for-windows/git/issues/1556 and https://github.com/git-for-windows/git/issues/1683. Of particular note: https://github.com/git-for-windows/git/issues/1556#issuecomment-410237781
This issue is acknowledged, and simply needs a contributor with a little time to work on it (it is really not all that hard).
Thanks for those references, I didn't see those for whatever reason. Don't have time myself to work on those but I can adopt the tweaks mentioned for now.
Thanks @congyiwu for putting in a bit of effort to drive this issue, even if it is now blocked.
I found two: #1556 and #1683. Of particular note: #1556 (comment)
I'll close this ticket in favor of https://github.com/git-for-windows/git/issues/1683 (which saw more action from interested volunteers).
Most helpful comment
This should work:
git config --global --add core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe