Skip to content

Instantly share code, notes, and snippets.

@csesumonpro
Created May 23, 2022 10:29
Show Gist options
  • Save csesumonpro/74f6083b69bef4a11a363a7df1c65a58 to your computer and use it in GitHub Desktop.
Save csesumonpro/74f6083b69bef4a11a363a7df1c65a58 to your computer and use it in GitHub Desktop.
How to setup ssh key in github
ssh-keygen -t rsa -b 4096 -C your@email.com
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub #Mack and linux
clip < ~/.ssh/id_rsa.pub # Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment