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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,461,953
Community Members
 
Community Events
176
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

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
TAGS

Atlassian Community Events