Use Git bash ssh tools on Windows from cmd

I needed ssh functionality for Windows cmd when using Git, but I do not want to use git bash. It turns out the git bash ssh tools also work from cmd. All you have to do is add the bin directory they are in to your path.

set path=%path%;"C:\Program Files\Git\usr\bin"

That’s it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s