Anonymous
Anonymous

Reputation: 1773

ssh work on command prompt but not on git-bash

I am new to git. I am facing some issues in cloning a project through https, so after some research I decided to go through ssh and I am following these instructions. I am working on Windows 7 64bit, and I have installed Git-2.7.1-64-bit.exe and ssh.

After installing I checked the ssh version in the command prompt with the command ssh -v. The command prompt (CMD) shows the proper version, but when I try the same command in git bash it does not show me any version at all. Here are screenshots of both:

cmd: enter image description here

git bash: enter image description here

So guys, please tell me what mistake I am making.

Upvotes: 2

Views: 2658

Answers (1)

Jakuje
Jakuje

Reputation: 25956

The current version (7.1p2 and many versions back) reacts to -V (uppercase v) to print version. The one which is installed out of your git-bash is really old and so behaves strange:

ssh -V

should do what you need.

Upvotes: 4

Related Questions