title: How to do manual git clone in Jenkins over SSH
body: <p>In most cases I use the <code>git plugin</code> I choose the credential (username - private key) and I use <code>ssh://git@server.com:7999/project/repo.git</code> as URL. This works fine. A clone is possible.</p>
  
  <p>Now I try to do the same with the <code>ssh-agent plugin</code> and not the <code>git-plugin</code>.</p>
  
  <p>I use the SSH-agent plugin and select the credential (like with the git plugin).
  than I choose to execute a shell:</p>
  
  <pre><code>git version;
  git clone ssh://git@server.com:7999/project/repo.git
  </code></pre>
  
  <p>This does not work. What am I doing wrong?</p>
  
  <pre><code>Host key verification failed.
  fatal: Could not read from remote repository.
  </code></pre>