I use to be able to push code and set up a new git,while now I can't push code to my new git,it;s said that I have no permission
Hi Vicentkarl! You can run this 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
You can also run also this command to see which key is your SSH agent currently offering:
ssh-add -L
If your key is not listed, you can add it by:
ssh-add ~/.ssh/identity
Note that with ssh-agent management Bitbucket uses the first key in the list. If you are still having problems, try removing all but the identity you want to connect with, to do this:
ssh-add -d ~/.ssh/identity
This is explained at Troubleshooting SSH issues.
Let us know how it goes!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.