Skip to content

Instantly share code, notes, and snippets.

@JustATestName144
Last active January 10, 2018 09:16
Show Gist options
  • Save JustATestName144/2f36f1ed38d0a34195e94515ed3def4d to your computer and use it in GitHub Desktop.
Save JustATestName144/2f36f1ed38d0a34195e94515ed3def4d to your computer and use it in GitHub Desktop.
Git. Create ssh key and add it to ssh-agent.
ssh-keygen -t rsa -b 4096 -C "[email protected]" - Generate new keypair.
eval $(ssh-agent -s) - run ssh agent.
ssh-add ~/.ssh/id_rsa - Add key to agent.
clip < ~/.ssh/id_rsa.pub - copy rsa key to clipboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment