title: Chef running git clone results in host key verification error
body: <p>I am using Chef, invoked by Capistrano.</p>
  
  <p>There is a directive to clone a repository using git.</p>
  
  <pre><code>git node['rails']['rails_root'] do
    repository "git@myrepo.com:/myproj.git"
    reference "master"
    action :sync
    user node['rails']['rails_user']
    group node['rails']['rails_group']
  end
  </code></pre>
  
  <p>When it gets to this point, I get: </p>
  
  <pre><code> ** [out :: 10.1.1.1] STDERR: Host key verification failed.
  </code></pre>
  
  <p>So, I need to add a "known_hosts" entry. No problem. But to which user? The core of my problem is that I have no idea which user is executing what commands, and if they are invoking sudo, etc.</p>
  
  <p>I've run keyscan to populate the known_hosts of root, and the user I ssh in as, to no avail.</p>
  
  <p>Note, this git repo is read-protected, and requires ssh key access.</p>