Created
March 1, 2018 14:28
-
-
Save ob1-sc/355a65c3bf174bf22db0aade961c87f5 to your computer and use it in GitHub Desktop.
Generate SSH Key
This file contains 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
# generate ssh private/public key | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
# start ssh agent in background | |
eval "$(ssh-agent -s)" | |
# add ssh private key to agent | |
ssh-add ~/.ssh/id_rsa | |
# copy to clipboard (xclip needs to be installed) | |
xclip -sel clip < ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment