You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have a problem with pulling my repo on the server computer. In my BitBucket account, I have enabled the 2fa and had created an ssh key according to the documentation
Everything worked a few days ago and I could successfully pull my repo from bitBucket.
After fixing a bug, today I was trying to pull the fixed repo but I got this message
To access this repository, enable two-step authentication.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have already googled for a solution and tried adding a new key but I still could not have the pull working. I am the only person working on that repo and can not understand what might have changed in a few days. I have only noticed that the ssh in my bitBucket repo was used dew days ago and not used today, after my pulling attempts
the URL for git repository is already updated to ssh
if I run ssh -T firstname.lastname@example.org I get this message:
authenticated via ssh key.
You can use git to connect to Bitbucket. Shell access is disabled
I have also tried with a different network, VPN and checked that bitBucket services are on and working. Any help, please?
Thanks for this, this fixed my issue as well! To be more specific: I created a specific key for bitbucket and had to update ~/.ssh/config to include a reference to that key for the bitbucket server:
Welcome to the community!
Just to confirm are you still having an issue with this?
This error looks like you are trying to access a Workspace that has their Premium access feature enabled that enforce users to enable their two-steps verification account before they can access the Workspace and repositories.
I can see that your Bitbucket account has all the requirements setup correctly so you should have no issue to access, please confirm if you are still affected by this.
Hi @Syahrul , yes I still have the issue :(
But what I cannot really understand is why it worked correctly a few days ago :(
The only thing that comes to my mind is that I created the ssh key with a password. However the first time I used the git pull I was asked for none.
Do I need to use that password somewhere when pulling the repo? What is the difference in creating a ssh key with or without a password, then?