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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.