Skip to content

Instantly share code, notes, and snippets.

@drewjoh
Last active June 18, 2019 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewjoh/ddf15e16971404af79e283caea194189 to your computer and use it in GitHub Desktop.
Save drewjoh/ddf15e16971404af79e283caea194189 to your computer and use it in GitHub Desktop.
Sample SSH Key Setup

First check that we have an ssh key. Type this in your terminal:

pbcopy < ~/.ssh/id_rsa.pub

If you get no error message, SUCCESS! Go to onetimesecret.com, paste your clipboard, and send me the link provided.

If you get the error: "No such file or directory"... follow these steps:

  1. Open Terminal.
  2. Paste the text below, substituting in your email address.

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

This creates a new ssh key, using the provided email as a label.

  1. When you're prompted to "Enter a file in which to save the key," press Enter. This accepts the default file location.
  2. When you're prompted to type a secure password, press Enter both times. (No password)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment