Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the Git client for Windows 10 install an SSH client automatically?

The question is already in the title.

Following software is meant with Git client:

https://git-scm.com/

I though it comes with: https://www.openssh.com/

But that is now already on Windows 10 itself.

So now I got the Git Bash installed (based on mingw-w64) and can use ssh-commands, where does it come from?

Thanks in advance.

like image 670
quizmaster987 Avatar asked Jul 22 '26 13:07

quizmaster987


1 Answers

Yes, Git for Windows installs its own SSH client. It ships a version of OpenSSH with the package. If you're seeing /usr/bin/ssh when you run command -v ssh, then you're using the version from Git for Windows.

For many things, it's also possible to use the Windows version, but that version is known to be broken in some ways. For example, it does not work with Git LFS, since it does not handle having /dev/null for some of its streams, whereas the Git for Windows and Unix versions support that just fine. So unless you're certain that you need to use the Windows version for some reason, you should prefer the Git for Windows version.

like image 197
bk2204 Avatar answered Jul 25 '26 06:07

bk2204



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!