Updating git settings for ssh auth

With all git providers disabling simple https login for push; a quick reminder of how to setup ssh connection for local git branch
- Use ssh keygen to generate your keys (using ssh-keygen)
- Add the private key in the web interface of git hosting company, it depends
- Add identity to authentication agent
ssh-add ~/.ssh/id_rsa - Test ssh connection
ssh -T git@bitbucket.org - Change method from https to git (ssh)
git remote set-url origin git@bitbucket.org:jupiter126/simpleveggiegarden.git - Push changes if any
git push
And voila, nothing new, but a bit less googling for me next time I'm stuck in an old repo!