Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove SSH key from bitbucket?

Rose Manda October 17, 2018

I had previously added SSH Key on my bitbucket account. I want to remove this and add a  new one, as my config file got erased.

My 2-step verification is failing to access the account, so I am unable to access bitbucket settings.  

I tried accessing recovery codes, but connection to  port 22 is refused being enabled SSH over port 443.

 

Is there a way around ?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2018

Hi Rose!

If my understanding is correct, you don't have valid codes to access your Bitbucket account using two-step authentication. 

In that case, you'll need to use one of the recovery codes we sent you when you first signed up for two-step verification, or if you don't have them you can get them by running the following command in the pc where you have stored the SSH key for your account:

ssh git@bitbucket.org recovery_codes

This is explained at Two-step verification.

Did this work for you?

Cheers,

Ana

arne_hortell
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!
May 18, 2019

If two-step auth is a requirement to delete an access key for a repo,

shouldnt it say so in the error message, instead of saying its a server error???

RoseTBS
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!
May 20, 2019

Hi there, nope, there is no description of the error or a hint to resolve. All I could see is server error message.

I had to create an email alias to start as fresh user.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events