Ning Ma blog

my technology tips

CentOS setup ssh key for bitbucket

1. Create a new ssh key, you need enter your key name and password

2. Start the ssh-agent and load your keys
replace id_ras to your key name

3. Copy your key from ~/.ssh/yourKeyName.pub

4. Login bitbucket avatar > Settings > SSH keys.
insert your key from step 2

5. Change your git config

change url to ssh://git@bitbucket.org /< accountname>/.git

6. Test by

Leave a Reply

Your email address will not be published. Required fields are marked *

*