Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket not working on linux but works on mac

Listen I have been using bitbucket since 2012 with ssh keys.  I have never had this issue and I can not seem to figure it out. 

I am using version 2.30.1 on my mac and 2.17.1 on my Linux machine. 

I can pull on my Linux machine but I can not fetch or push on it. 

I can pull, fetch, and push on my mac.  I even was able to do this just fine yesterday.  11-15-2021 but today "git push" "git push origin master" just hangs along with "git fetch --all"

What is the issue?  I have a whole day of coding that I can commit but not push I don't want to lose this commit and I can't figure it out.  This is happening on all my repos on Linux 18.04.  Am I just going to have to format this Linux box?

Please what could be the issue?

2 answers

0 votes

I had a similar issue.  It turned out to be that two of the keys I had loaded in my ssh-agent were both valid to connect to bitbucket and the first one had less permissions than the second.  If you think you may be in that situation, the command 

GIT_SSH_COMMAND="ssh -vvv" git push origin HEAD

will let you know which key pair bitbucket actually accepts.  Removing and re-adding the troublesome key so it's farther down in the list returned by `ssh-add -l` resolved the problem.

git push -u just worked as I typed this.. so it appears to be hanging for about 15 mins.


This is scary I have never had issues with git ever. 

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,214 views 2 9
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