Closed devsecopsalm closed 9 years ago
May you please check, if the ssh-key is searched at the right position? Because the environment variables HOMEDRIVE and HOMEPATH can be different from the environment variable USERPROFILE the ".ssh" path is sometimes searched in another position, perhaps even different to the git for Windows 1.95 version. You can test it by connecting with an ssh -l UserName MachineName and putting a valid key in the directory you expect git should use.
it shows authentication failure error.
What is the error? Please, give us a chance to help you. Here are a few tips how to write good bug reports.
error pasted
duskrish@DUSKRISH-WS ~/repo_test $ git clone https://duskrish@rtp-scm-lnx21.xxxxx.com:8081/Test2 Cloning into 'Test2'... Password for 'https://duskrish@rtp-scm-lnx21.xxxxx.com:8081': fatal: Authentication failed for 'https://duskrish@rtp-scm-lnx21.xxxxx.com:8081/Test2/'
The same thing if I try in any linux machine it shows a popup where I enter my password and it clones comfortably. Cloning via ssh has no issues.
Thanks Dushyanth
While this does not really qualify for a good bug report (you might want to heed all of the advice from https://github.com/git-for-windows/git/wiki/Issue-reporting-guidelines, not just a couple of tid bits), you might be able to help yourself better by re-running the clone with GIT_CURL_VERBOSE=1
.
Git for Windows 1.x is now deprecated; Please upgrade to Git for Windows 2.x and open a new ticket there if the bug persists. Thanks.
I was not able to clone git repository via https to git bash windows client. it shows authentication failure error. same error is not appeared if i try to clone on any Unix machines.