Skip to content

Instantly share code, notes, and snippets.

View carlosalexandresmo's full-sized avatar

Carlos Alexandre carlosalexandresmo

  • PeopleOn
  • Volta Redonda
  • 10:32 (UTC -03:00)
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