title: SSH git clone is forbidden for Bitbucket on Windows
body: <p>I am setting up SSH keys to establish SSH connection to my company's private company. But I still cannot clone the repository. I am using Windows 10. </p>
  
  <ol>
  <li><p>I generate the key using the <code>ssh-keygen</code> command following the instructions for Windows in this link, <a href="https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html" rel="nofollow noreferrer">https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html</a>.</p></li>
  <li><p>Then I also run following command in Bash command</p>
  
  <pre><code>$ eval $(ssh-agent) 
  </code></pre></li>
  <li><p>I set the private key for the above command</p>
  
  <pre><code>ssh-add ~/.ssh/&lt;private_key_file&gt;
  </code></pre></li>
  </ol>
  
  <p>Everything went well. Then I copy the public key <code>id_rsa.pub</code> key to the Bitbucket SSH key setting with a label. </p>
  
  <p>When I clone, I am still getting the following error.</p>
  
  <pre><code>Cloning into 'my-repo-les'...
  ssh: connect to host bitbucket.org port 22: Network is unreachable
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>In the source tree, I can see all the remote repositories of my organization/ company. But when I clone, I got the following error.</p>
  
  <pre><code>Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote https://wai-yan-hein@bitbucket.org/lbresearch/frontendplatform.git
  Output: 
  Error: remote: Forbidden
  fatal: unable to access 'https://wai-yan-hein@bitbucket.org/lbresearch/frontendplatform.git/': The requested URL returned error: 403
  </code></pre>
  
  <p>Before I had an account set up. I was using it with for Github. Now I set up for Bitbucket. Could that be the issue?</p>
  
  <p>When I run this command, the connection has timed out.</p>
  
  <pre><code>ssh -T hg@bitbucket.org
  </code></pre>