Last active
January 10, 2018 09:16
-
-
Save JustATestName144/2f36f1ed38d0a34195e94515ed3def4d to your computer and use it in GitHub Desktop.
Git. Create ssh key and add it to ssh-agent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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