Received the following error when trying to connect to GIT repository:
git ls-remote "ssh://fpdgit.test.com/fpd/obs-prod return error code 128
1. Put the stat central agent in debug mode and try to do test connect to GIT VCM
2. Make sure the stat central agent machine have GIT client install
3. Now take a look at the server.log and you should see a similar statement as below. Try executing this statement using GIT bash on the machine where the stat windows client resides.
git ls-remote "ssh://fpdgit.test.com/fpd/obs-prod
3. If it's successful then try this statement on the machine where the stat central agent resides. Please note the following is just an example of my repository. You need to make sure to get the statement that was captured in the server.log.
SCA on Windows:
git ls-remote "ssh://fpdgit.test.com/fpd/obs-prod
SCA on Unix:
sh -c git ls-remote "ssh://fpdgit.test.com/fpd/obs-prod
4. If step 3 failed on the stat central agent machine then verify the user who started the SCA have the .ssh sub-directory. In that sub-directory, the user should have a file called id_rsa.pub. Work with your GIT Admin how to configure this if SCA cannot execute the git command.
5. If the command line is successful from the Stat windows client and Stat central agent then verify this only if your agent is on Windows 2008 server:
a. Go to Start-->Administative tool-->Local security policy-->User Right Assignment
b. Look for Log on as a service policy
c. Right click this policy for Properties ->Local Security Setting->Add User or Group. In my case, I've added a user called Stat that is part of the Admin group
d. Go to Start-->Administative tool-->Services-->Stat Agent->properties->Log On->This Account. Enter the username/password to startup the stat agent.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center