I'm having some issues I could use a hand with. We're running mixed environment until with EOL our .NET projects. As a results, our teamcity 6.0.2 server is running on Windows 2008 Server. Our agent is an Ubutu 10.10 server. Everything has been working perfectly, and we switched from SVN to git. Given the windows compoennt, it's causing some headaches. Here is my issue.
We use client checkout, as a result, I can't use the "Private Key" method, but I have to use the "Default Private Key". This is fine. I've set up the public/private keys properly, and on the agent I can switch to the user (teamcity) that runs the teamcity agent and execute "ssh email@example.com". I'm successfully authenticated, and no issues occur.
On the server side, I've set up msysgit and configured my keys. In the git console I can execute the command "ssh firstname.lastname@example.org" and authenticate succesfully.
However, because our server is windows, the server runs under the Local System account. Is there a system property I can give the server to tell it which key file to use without effecting the client checkout? I'm also receiving this on the client, which is very surprising since the user "teamcity" can authenticate as outline above. This is my stacktrace.
Caused by: jetbrains.buildServer.vcs.VcsException: 'git fetch' command failed.
stderr: Exception in thread "main" org.eclipse.jgit.errors.TransportException: email@example.com:Spidertracks/Aviator.git: Auth fail
Caused by: com.jcraft.jsch.JSchException: Auth fail
... 8 more