Skip to content

Instantly share code, notes, and snippets.

@schweigert
Created November 5, 2017 17:41
Show Gist options
  • Save schweigert/bc5f6b0d21259154fec60e8ef7bf6c0d to your computer and use it in GitHub Desktop.
Save schweigert/bc5f6b0d21259154fec60e8ef7bf6c0d to your computer and use it in GitHub Desktop.
Configure SSH to git in ubuntu.
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat id_rsa.pub
# Add in github config the id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment