Skip to content

Instantly share code, notes, and snippets.

@acidtone
Last active January 12, 2022 10:58
Show Gist options
  • Save acidtone/dd9ae11a238e9f14ad0b066298f35dc5 to your computer and use it in GitHub Desktop.
Save acidtone/dd9ae11a238e9f14ad0b066298f35dc5 to your computer and use it in GitHub Desktop.
Git Activity: Set up your SSH Keys

First-time Setup: Connecting to GitHub using SSH (optional?)

Git deprecated access to some password-based authentication when accessing some features on GitHub. The recommended authentication method is to use SSH keys.

Prerequisites

Instructions

Unfortunately, we need to jump through some hoops so we can connect with SSH. Luckily, GitHub has great step-by-step instructions in their documentation:

  1. About SSH
  2. Check for existing SSH keys
  3. Generate a new SSH key and add it to the ssh-agent
  4. Add your SSH key to your GitHub account
  5. Test your connection

Related Gists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment