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

pointing to SSH Key on a Mac

Parakh Batra November 2, 2015

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?

Thanks!


2 answers

0 votes
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2015

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)

0 votes
Nirmal Shankar November 2, 2015

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events