I recently joined Jira to my primary bitbucket repository. I now find my ssh keys for debug1: Next authentication method: publickey I have been regularly pushing updates regularly until this happened. I'm stuck - can
thanks, Phil
|
Hi @pcrooker
Welcome to the community.
Based on the error message you've got which is "Repository access is forbidden", it seems you're pushing to a repository with an access key.
Would it be possible for you to confirm if you're using an SSH key that is added under your Repository settings > Access keys?
If yes, it is expected that you won't be able to push to the repository with the SSH key added as an access key because Access keys only grant read-only access to a public or private repository.
Hence, you can't push using that SSH key.
If you'd like to be able to push using the SSH key, you'd need to add the SSH key under your Bitbucket Cloud account's level SSH key settings instead.
You can check this documentation for more information: Set up an SSH key
Hope it helps and let me know how it goes.
Regards,
Mark C
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.