Hi,
Before I've successfully pushed code to my remote BitBucket repository. Upon "git push" I've used a private password.
Now I've added a new ssh key to my personal settings for the same type of command. The response is "git@bitbucket.org: Permission denied (publickey)" and BitBucket settings indicate the public key is never used.
I've followed the steps in: https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-linux/
- ssh-keygen -t ed25519 -b 4096 -C "{username@emaildomain.com}"
- ssh-add <ssh-private-key-name>
Testing by command "ssh -T git@bitbucket.org" also gives response "git@bitbucket.org: Permission denied (publickey)"
Thanks for help,
Mikael