Skip to content

Instantly share code, notes, and snippets.

View carlosalexandresmo's full-sized avatar

Carlos Alexandre carlosalexandresmo

  • PeopleOn
  • Volta Redonda
  • 10:39 (UTC -03:00)
View GitHub Profile

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