# Help! Pkg.add from company's Bitbucket repository fails due to SSH authentication

**URL:** <https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897>\
**Category:** New to Julia\
**Tags:** ssh\
**Created:** [January 28, 2020, 6:07pm UTC](https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897 "2020-01-28T18:07:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Pbellive](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pbellive/32/3604_2.png) [@Pbellive](https://discourse.julialang.org/u/Pbellive)\
**Post date:** [January 28, 2020, 6:19pm UTC](https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897/2 "2020-01-28T18:19:22Z")

</div>

Unfortunately working with private repositories on Windows seems to be a long standing issue. You’re far from the only one to have experienced this. I could be wrong but as far as I know it hasn’t been resolved. See the following thread for more info:

> [@What should I do when asked for a private key loaction when adding a private repository on windows](https://discourse.julialang.org/t/what-should-i-do-when-asked-for-a-private-key-loaction-when-adding-a-private-repository-on-windows/29201):
>
> When trying to add my private repository using the julia repl. It sops adding with a line saying Private key location for 'git@github.com' [C:\Users\[username]\.ssh\id\_rsa]: I’m not entirely sure what I should type in as it’s already pointing to the private key loaction. I’ve tried the following. Retyping in the private key location. Typing in the public key location. Typing in the directory tha contains both. But one of the above have allowed me to add my repository. A few extra notes: T…

Seems like the standard workaround is to use https. That is what my company has done to accommodate Windows users. If https isn’t an option then I’m not sure what the best path forward is. There might be a way to get ssh to work on Windows.

---

_[View the full topic](https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897)._
