Auto configure user files to generate ssh public keys for BitBucket. Copy and paste the keys. Then open a browser and log into Bitbucket. Choose avatar > Manage Account from the menu bar.  The system displays the Account settings page. Click SSH keys and paste the public keys in there.