pointing to SSH Key on a Mac

When using SourceTree, the developers I am working with are on a PC and I am on a Mac.  They tell me to follow these steps:

Tools -> Options -> Look for "SSH Key" and change that to look at your
id_rsa file that you created earlier in your home directory under .ssh

But on a Mac, I am not seeing the same menu options or ability for SSH Client Configuration - what to do?


2 answers

Basically you can create a key pair by using ssh-keygen command from your terminal. Your key should generated under /Users/username/.ssh/id_rsa. 

You can even do a copy of the key from that location to your desktop using cp commands from terminal.

You don't need to do anything special to setup SSH keys on a Mac because, unlike Windows, they are supported natively by the OS.  Just create the SSH key from the command line if you haven't already (following the steps Nirmal set out) and then go into that .ssh directory to find the public key file.  Copy the contents of that key file onto your clipboard and then paste them wherever you need them (such as your user profile on Stash/Bitbucket)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,112 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you