Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Fixing SSH for git on Mac OSX

daniel_amato
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2017

A while back I setup my git repo to connect using ssh and rsa keys using the instructions listed here: https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html

After taking several months off from my project, I returned to find that I was now being prompted for my passphrase for the ssh key. I double checked the steps on that help page, and everything seemed in order, yet I was still prompted for my passphrase.

The issue was that the instructions said in Step 3, "If you are running OSX 10.6.8 or later you can skip this step." Since I was running 10.12.4, I skipped that step. However, it seems that my ssh-agent lost my private key, perhaps when I updated OSX to a newer version. Running "ssh-add ~/.ssh/id_rsa" fixed the issue.

These instructions are great, but might be made slightly clearer by telling all users to execute step 3, just in case.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Bitbucket Events