title: git clone issue [ socket: Address family not supported by protocol ]
body: <p>I'm on a shared hosting (huge mistake). I have ssh'ed into it and trying to clone a private repository from bitbucket.org:</p>
  <pre><code>git clone git@example.com:MyStuff/private-repository.git
  </code></pre>
  <p>but facing this issue:</p>
  <blockquote>
  <p>socket: Address family not supported by protocol</p>
  <p>ssh: connect to host bitbucket.org port 22: Address family not supported by protocol</p>
  </blockquote>
  <p>Now looking at this page: <a href="https://forums.gentoo.org/viewtopic-t-127306-start-0.html" rel="nofollow noreferrer">https://forums.gentoo.org/viewtopic-t-127306-start-0.html</a>. I think maybe I need to disable the use of ipv6 by ssh to connect to the host. I can't do that (shared hosting).</p>
  <p>Any help?</p>