title: GnuTLS: Failed to acquire random data with GIT_SSH_COMMAND
body: <p>I have a script that tries to clone Git repositories in the background, without the user being able to provide credentials. Thus, it sets <code>GIT_SSH_COMMAND</code> to enable OpenSSH batch mode. Example script that reproduces the problem:</p>
  
  <pre><code>import subprocess, sys
  popen = subprocess.Popen(
    ['git', 'clone', 'https://github.com/NiklasRosenstein/flux.git'],
    env={'GIT_SSH_COMMAND': 'ssh -oBatchMode=yes'},
  )
  popen.wait()
  sys.exit(popen.returncode)
  </code></pre>
  
  <p>Without setting <code>GIT_SSH_COMMAND</code>, the command runs fine. But with it, I get</p>
  
  <pre><code>C:\Users\niklas\Desktop
  λ test
  Cloning into 'flux'...
  Error in GnuTLS initialization: Failed to acquire random data.
  fatal: unable to access 'https://github.com/NiklasRosenstein/flux.git/': Couldn't resolve host 'github.com'
  </code></pre>
  
  <p>What's going wrong here? Using Git-for-Windows 2.6.1.windows.1</p>