Skip to content

Instantly share code, notes, and snippets.

View jonathanlaf's full-sized avatar

Jonathan Lafleur jonathanlaf

View GitHub Profile
@2-718
2-718 / gist:712288
Created November 23, 2010 18:56
Generating SSH keys (OSX)

Generate ssh public keypair

$ cd ~/.ssh
$ ssh-keygen -t rsa -C "EMAIL"
Filename: EMAIL
Passphrase: choose appropriate passphrase
$ ssh-add EMAIL

Enable ssh-agent

$ ssh-agent bash

$ ssh-add ~/.ssh/id_rsa