Forums

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

Couldn't ssh after changing username

Vijayabaskar Ramalingam
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!
April 14, 2018

Couldn't ssh after changing username. I still have the ssh created by sourcetree on my machine. But still couldn't ssh. Please help.

git@bitbucket.org: Permission denied (publickey).

Please also note that, after changing the username it started asking for 2F validation code. Unfortunately I lost access to them because I sent the phone for repair.

I have the recovery code saved on my cloud.

1 answer

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

Hi Vijayabaskar! It's possible that your system is still using the old credentials. Can you run the following command from your terminal? This will attempt to create a connection to Bitbucket for Git and tell you which username is using:

ssh -Tv git@bitbucket.org

If it's still using the old one, it will get an error with the authentication.

Let us know if you need any further assistance!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events