

Your private key file permissions are too open Check permissions for the directory where you're attempting to check out the project, and make sure you have write access.

If you get the error "Permission denied", it is also possible that git doesn't have permission to create the project folder locally. You do not have permission to create the repository on your local filesystem If you’re running bash from an IDE, make sure to restart the IDE itself as well. C:\Program Files (x86)\Atlassian\SourceTree\tools\putty\plink.exe)Ī easy way of finding the path for the agent is to open task manager, find the process and open the folder location to get the path to your agent.Īfter creating the new variable make sure to restart your terminals so that they receive the new values.
#Bitbucket sourcetree root url full#
Variable Value: full path to pageant.exe (you may also have plink.exe, puttygen.exe and other agents, i.e. After Set up SSH with Sourcetree on Windows, Tools-Authentication-Accounts-Add-SSH-OAuth, click Pageant then Refresh Token. After updating the Git version, you should be able to clone the repository and under Repository Type, you should see: This is a Git repository. At the end of Set up SSH with Sourcetree on Windows, it will tell you Change the remote URL for your repository to its SSH URL, you shouldn't follow it.
#Bitbucket sourcetree root url update#
From SourceTree, go to Tools > Options > Git > Git Version > Update Embedded. To find out what keys your SSH Agent currently is offering, and add them, do the following: Windowsĭouble-click Pageant to view loaded keys ( Pageant is a PuTTY authentication agent).Ĭlick 'Add Key' to add any key not found in the list. The solution was simple, I just updated the Git Version. If your SSH agent doesn't know to offer Bitbucket Cloud a key, the connection will fail. Your identity isn't loaded into your SSH Agent If you do not have any keys listed, follow Set up an SSH key to set one up.Click SSH keys in the Security section.The system displays the personal settings page. Choose Your avatar > Personal settings from the menu bar.

