Hi @Sumadhi Selvaraj and welcome to the community.
If you have set up SSH keys for your Bitbucket Cloud account and you have access to the repo, then the private key may not be loaded into your SSH agent.
You can try adding the following in the file named config in the ~/.ssh directory on your computer (if the file doesn't exist, you can create it):
Host bitbucket.org
HostName bitbucket.org
User git
PreferredAuthentications publickey
IdentityFile /Users/myUser/.ssh/id_rsa
IdentitiesOnly yes
where /Users/myUser/.ssh/id_rsa replace with the path to your private SSH key that you use for Bitbucket Cloud and its name.
In case you have multiple Bitbucket accounts, you have set up SSH keys for each account and you want to use both from your computer, you will need to make a different configuration: https://blog.developer.atlassian.com/different-ssh-keys-multiple-bitbucket-accounts/ If you use only one Bitbucket account with SSH keys from this computer, you can ignore this last part.
Please feel free to let me know how it goes and if you're still experiencing any issues.
Kind regards,
Theodora
Hi @Sumadhi Selvaraj ,
welcome to the Atlassian community!
Please ask to a your Project Admin to check if your user has the correct permission to write in that specific repo.
Hope this helps,
Fabio
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.