Skip to content

Instantly share code, notes, and snippets.

@cansadadeserfeliz
Last active August 29, 2015 14:00
Show Gist options
  • Save cansadadeserfeliz/14eb30bc02dd747444c5 to your computer and use it in GitHub Desktop.
Save cansadadeserfeliz/14eb30bc02dd747444c5 to your computer and use it in GitHub Desktop.
generate a new ssh key
# generate a new key
ssh-keygen -t rsa -b 4096 -f ~/.ssh/my_key
# private key
cat ~/.ssh/my_key
# public key
cat ~/.ssh/my_key.pub
# add key
ssh-add ~/.ssh/my_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment