title: Setting jenkins git returns "Host key verification failed" error
body: <p>I want to put one of my jenkins projects into source code management with git.</p>
  
  <p>However, when I typed <code>git@gitlab.com:myGitlabAccount/myProjectName.git</code> into <em>Repository URL</em> under <em>Source Code Management</em> tab in the project configuration page. I saw the following error message:</p>
  
  <pre><code>Failed to connect to repository : Command "git.exe ls-remote -h git@gitlab.com:myGitlabAccount/myProjectName.git" returned status code 128:
  stdout: 
  stderr: Host key verification failed. 
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>There's no error message when I type <code>git.exe ls-remote -h git@gitlab.com:myGitlabAccount/myProjectName.git</code> under windows command line.</p>
  
  <p>I can <code>git clone git@gitlab.com:myGitlabAccount/myProjectName.git</code> successfully.</p>
  
  <p>And I think that <a href="https://stackoverflow.com/questions/15174194/jenkins-host-key-verification-failed">Jenkins Host key verification failed</a> is a solution to my problem if I were a linux jenkins user. </p>
  
  <p>But I use jenkins under windows environment, and I don't find any user called <em>jenkins</em> in windows. </p>
  
  <p>How can I switch to <em>jenkins</em> user and type <code>git ls-remote -h git@bitbucket.org:person/projectmarket.git HEAD</code> manually in windows environment?</p>