I've verified that my ssh key is working buy using the command ssh -T git@bitbucket.org.
But when I go to push my code to bitbucket I'm prompted to put in my bitbucket password and if I do that it says to setup and ssh key because I have 2fa enabled.