HTTPS
to SSH
:ssh-keygen
at the command line.The command prompts you for a file to save the key in:~/.ssh
location.Bitbucket settings>Account settings>SSH keys>Add key
id_rsa
is the name I have given when generating the key files. It might be something else for your case.3. Copy and paste the public key in the key
field in Bitbucket and include proper label. Click Save
.