Skip to content

Instantly share code, notes, and snippets.

@mike-pete
Last active November 28, 2024 17:12
Show Gist options
  • Save mike-pete/5326a213d074fe02c6ba9a3bc45c2332 to your computer and use it in GitHub Desktop.
Save mike-pete/5326a213d074fe02c6ba9a3bc45c2332 to your computer and use it in GitHub Desktop.
GitHub Key
  1. Use git bash to generate ssh key ssh-keygen -t rsa -C "[email protected]"

You need to set a password to avoid issues. When you are setting your key password, nothing will show in the terminal when you enter your password, this is normal, don't panic!

  1. Print out the pub key cat ~/.ssh/id_rsa.pub
  2. Copy that key and add it to https://github.com/settings/keys (New SSH key)
  3. Test to make sure everything is peachy ssh -T [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment