Creating an SSH Key


Step 1

First, let's check to see if you already have an SSH key. In your Terminal type:

ls ~/.ssh/id_rsa

If your terminal returns:

No such file or directory

Continue with Step 2.


If your terminal returns:

/Users/[Something]/.ssh/id_rsa

You already have an SSH key. Proceed by clicking here.

Step 2

Make sure to use the same email you used for Git, Heroku, and Github. In your terminal type:

ssh-keygen -C ENTER YOUR EMAIL HERE -t rsa

Note: Press enter to accept the default key save location.

Step 3

You'll be prompted to create a password. If you share your computer you should create one, otherwise just hit enter twice.

You should see:

Generating public/private rsa key pair. Enter file in which to save the key (/Users/[something]/.ssh/id_rsa): Created directory '/Users/[something]/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/[something]/.ssh/id_rsa. Your public key has been saved in /Users/[something]/.ssh/id_rsa.pub. The key fingerprint is: 88:54:ab:77:fe:5c:c3:7s:14:37:28:8c:1d:ef:2a:8d YOUR EMAIL