Auth failed when clone a private repository from TFS

Antonio Sansica 21 Reputation points
2021-11-25T15:41:56.983+00:00

Hi All, I have a problem when I try to clone a repo from company TFS Collection:

git clone https://tfs.orgname.com/tfs/TFSCollection/projectname/_git/GIT_TESTRIG
username for https://tfs.orgname.com: myusername
password for https://tfs.orgname.com: mypassword
fatal: Authentication failed for https://tfs.orgname.com/tfs/TFSCollection/projectname/_git/GIT_TESTRIG

I'm 100% sure of my credentials and others user are the same problem (all of us have the permission to access to this repo).

info about my configuration:
OS: CentOS 7
Kernel version: 3.10.0-1160.45.1.el7.x86_64
git version: 2.34.0

The TFS server has a NTLM authentication and SSH authentication disabled. I also tried to use token but fails too. If I try to use wget (with: --user myuser --ask-password) and curl fails too.

BUT if I try to clone the repo from Debian, CentOS Stream or others Linux OS, with same version of git and the same user credentials I don't have any problem to clone the repo.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,796 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-11-25T16:05:23.113+00:00

    Devops / TFS is not currently supported here on Q&A. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.