Skip to content

Instantly share code, notes, and snippets.

@joshdvir
Created November 19, 2011 05:32
Show Gist options
  • Save joshdvir/1378487 to your computer and use it in GitHub Desktop.
Save joshdvir/1378487 to your computer and use it in GitHub Desktop.
Create Public/Private SSH Key
There are 2 commands to generate the SSH key, one creates a RSA encryption and the other creates a DSA encryption:
RSA:
ssh-keygen -t rsa
DSA:
ssh-keygen -t dsa
First question is where to save the key - answer what you want.
Second question is enter a passphrase - leave it blank (just press "Enter")
That's it now you have your new key, do what you want with it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment