title: Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository
body: <p>I am unable to clone a Git repository, and getting this error:</p>
  
  <pre><code>krishna.soni@KRISHNACHANDRAS /c/Projects $ git clone http://stage.abc.com:10088/pqr
  http://&lt;url&gt;/&lt;repository&gt; Cloning into '&lt;repository&gt;'... fatal: could not read Username for 'http://&lt;url&gt;': No such file or directory
  </code></pre>
  
  <p>I've read <a href="https://stackoverflow.com/questions/20923193/bitbucket-windows-and-fatal-could-not-read-password-for">Bitbucket, Windows and “fatal: could not read Password for”</a>, but still have the problem.</p>
  
  <p>I proceeded further but am now getting this error</p>
  
  <pre><code>sh.exe": chown: command not found
  
  krishna.soni@KRISHNACHANDRAS /c
  $ git clone ssh://krishna.sonipayu.in@stage.payupaisa.
  /projects
  Cloning into 'C:/projects'...
  Permission denied (publickey).
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  
  &gt; krishna.soni@KRISHNACHANDRAS /c
  &gt;     $ git clone ssh:&lt;url&gt;
  &gt;     ts
  &gt;     Cloning into 'C:/projects'...
  &gt;     Permission denied (publickey).
  &gt;     fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  </code></pre>
  
  <p>and the repository exists.</p>