Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Generate public and private key pairs
$ ssh-keygen -t rsa # use git as key name
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/xjiang/.ssh/id_rsa): git
Enter passphrase (empty for no passphrase):
Enter same passphrase again: ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment