Skip to content

Instantly share code, notes, and snippets.

@deckerego
Created December 6, 2013 17:21
Show Gist options
  • Select an option

  • Save deckerego/7828668 to your computer and use it in GitHub Desktop.

Select an option

Save deckerego/7828668 to your computer and use it in GitHub Desktop.
Key-based authentication (SSH authentication that uses certificates instead of passwords) must first be enabled by the SSH server itself. Most distros seem to allow this by default. First create a id_rsa.pub / id_rsa key pair with the following command, then take the contents of id_rsa.pub (not the other one) and appended it to the end of ~/.ssh…
ssh-keygen -t rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment