I am trying to get a recovery code through SSH and get the error 'git@bitbucket.org: Permission denied (publickey)' when I run the command
ssh git@bitbucket.org recovery_codes
Is there an easy way around this?
Thanks
Hi @aaroncarternorcott ,
Where you working with Bitbucket repositories using SSH protocol previously? Perhaps the sshkey you are using is not the one available on BItbucket. If you know what the SSH key is, you could specify it in the ssh command:
ssh -i ~/.ssh/id_rsa_example git@bitbucket.org recovery_codes
More information on Two-step verification documentation.
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.