Jenkins hangs at git fetch
<p>I'm a newbie with Jenkins and Im trying to get it to run some unit tests in my.NET project.</p>

<p>When I run a build it hangs when trying to fetch from the git repository.</p>

<p>ERROR: Timeout after 10 minutes</p>

<blockquote>
  <p>C:\Program Files\Git\cmd\git.exe config --local --remove-section credential # timeout=10
  ERROR: Error fetching remote repo 'origin'
  hudson.plugins.git.GitException: Failed to fetch from <a href="https://github.com/name.of.repo" rel="noreferrer">https://github.com/name.of.repo</a></p>
</blockquote>

<p>I've generated the known hosts and copied the .ssh dir to  C:\Windows\SysWOW64\config\systemprofile.ssh as per the jenkins instructions at <a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin" rel="noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin</a> under "Jenkins, GIT plugin and Windows"</p>

<p>I ran ssh git@github.com from the cmd line and I can succesfully authenticate.</p>

<p>Any ideas please?</p>

<p>Thanks :)</p>