Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Git repository hosted on Bitbucket. I can connect to this using Git Bash terminal, which uses my public key defined in my H: drive (network drive), but if I try the same from Windows PowerShell, it just runs through all the authentication methods before ending on asking for a password (last resort).

Why doesn’t Windows PowerShell read my public key?

share|improve this question
Which ssh.exe are you invoking when you call it in Powershell? The default installation option for Git Bash only put C:\Program Files (x86)\Git\cmd into your PATH, so other command line utilities in C:\Program Files (x86)\Git\bin are not available in posh. Maybe in your Powershell prompt, when you call ssh, you are invoking another file. – joon Sep 27 '13 at 12:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.