-
-
Save YourFriendCaspian/bccd7d22bd06fbceee85945d4639623d to your computer and use it in GitHub Desktop.
Generate ssh key (linux)
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
#!/usr/bin/env sh | |
EMAIL = $1 | |
ssh-keygen -t rsa -b 4096 -C $EMAIL | |
eval "$(ssh-agent -s)" | |
ssh-add -k ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment