Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I fix insufficient permissions error during push?


When I try to push commits through Sourcetree I get this error:

fatal: remote error: Insufficient permissions
You cannot push to PF/test_hamilton. Pushing requires write access and your
access is read-only.
fatal: Could not read from remote repository.

However I am able to push using any other means (powershell, git bash, visual studio). In other words, I just have to click the terminal button and type 'git push' as a workaround.

I am also able to push using Sourcetree on my laptop, but not on my remote desktop. remote desktop is located in a secure data server (Again pushes work through other programs here).

I am pushing to a bitbucket server using ssh.

My .ssh folders are identical between machines. The folder contains id_rsa, (generated with openssh) and known_hosts. I've tried converting the private key to .ppk using PuTTY but it did not solve the issue.

My Sourcetree settings are identical under Tools > Options.

My Laptop is using Windows 10 while my RDP is Windows Server 2016. Both versions of sourcetree are the most recent.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,734 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you