Missed Team ’24? Catch up on announcements here.

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

How do I fix insufficient permissions error during push?

Christopher Hamilton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2021

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, id_rsa.pub (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
TAGS
AUG Leaders

Atlassian Community Events