git clone from Linux to TFS git repo
Ive managed to overcome the issue, one of the steps was to configure the SSH authentication..
1. On the Linux Machine, ive added the TFS server to HOSTS file and installed Git client.
Then ive followed this guide guide for ContOS >> AD authentication, i followed up to step 4.
2. On the Linux machine generate Public Key using "ssh-keygen", and use this key as
3. On the TFS web page, at the user icon, we have security tab, went to SSH public keys and added the generated key from Linux (must be from public key, not private).
4. Eventually from the Linux i type in the full repo address, for example git clone ssh://tfs.domain.com:22/Defaultcollection/_projectname/git
It will prompt you to authorize the RSA connection, and that's it.
Hope that helps.
linux git authentication to TFS git repo
Thanks to the above link provided by Edward, I got this working. Following the details provided by the following answer was the exact route to take:
https://stackoverflow.com/a/14528360/87761
I got prompted for my AD credentials once, and then wasn't prompted again.
Connect to TFS GIT domain\username + password
Try to use SSH key authentication to clone git repo.
You can refer to this case: git clone from Linux to TFS git repo
Can't clone TFS Git Repository using Team Explorer
What permissions should I have specifically?
In TFS(Azure DevOps Server) Individual repositories inherit permissions from the top-level Git Repositories entry. Branches inherit a subset of permissions from assignments made at the repository level. For branch permissions and policies, see Set branch permissions and Improve code quality with branch policies.
With Readers permission, you should be able to clone the Git repo. However, a
ccording to TFS permission setting, most groups and almost all permissions, Deny trumps Allow. If a user belongs to two groups, and one of them has a specific permission set to Deny, that user will not be able to perform tasks that require that permission even if they belong to a group that has that permission set to Allow.
Please double check if you are deny in some other group (as a member of) which may cause this issue.
A way to narrow down your issue related to permission or any other things such as Team Explorer. You could use git command line instead, try to directly git clone files from TFS repo by using git command line. See if this works in your side.
Related Topics
How to Read Config Files with Section in Bash Shell
Installing Gcc on Linux Without C Compiler
How to Break an Arbitrary Tcp/Ip Connection on Linux
How to Store Linux Command Output into a Variable in Puppet
Best Text Search Engine for Integrating with Custom Web App
How to Replace Finding Words with the Different in Each Occurrence in Vi/Vim Editor
Storing Pid File for a Daemon Run as User
How to Understand Diff -U in Linux
Using Xargs with Special Characters
Fatal: Git Was Built Without Support for Git-Add--Interactive (No_Perl=1)
Libpcap - Capture Packets from All Interfaces
Type Null Character in Terminal
How to Redirect Output of Echo Over Ssh to a File
Generate Public Ssh Key from Private Key