Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MacOS: Using Bitbucket and Github, SSH Key?

I have been using GitHub for awhile and want to start using Bitbucket because of their free private repos. If I create a new SSH key for Bitbucket, will it erase my SSH key that I'm using for GitHub? In the future, I would like to still use both Github and Bitbucket.

OS: macOS

like image 981
Kimberley Johnson Avatar asked Jun 30 '26 13:06

Kimberley Johnson


1 Answers

If you want to use same SSH key for both github & bitbucket then just paste the current SSH key in bitbucket settings as well.

Write the following command in terminal: cat ~/.ssh/id_rsa.pub. The output of this command is your SSH key which you can add to your bitbucket account.

like image 127
Anmol Avatar answered Jul 02 '26 05:07

Anmol



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!