0

I've created a repo on bitbucket. In a local project I've added my repo as a remote.

When trying to push, I'm prompted for a password.

Bitbucket has a system for passwordless pushing, using a keypair for authentication. However, this simply isn't working for me at the moment: the keypair system works for any old projects that I've got connected to bitbucket remotes, but not for newly created ones.

How can I fix this and push my code?

phd
  • 82,685
  • 13
  • 120
  • 165
bob
  • 753
  • 4
  • 15
  • 27
  • 1
    As I understand it, Bitbucket accepts ssh authentication with an ssh public key, so you could use ssh protocol, create a keypair, store the public key on bitbucket, and use that. – torek Aug 27 '21 at 11:54
  • https://stackoverflow.com/questions/tagged/git%2bssh?tab=Votes – phd Aug 27 '21 at 13:49
  • This works for projects that I've created previously. But doesn't work for new projects. – bob Aug 28 '21 at 01:42

0 Answers0