Last active
May 13, 2023 12:21
-
-
Save ssyrota/0958a9c1d2daae39898a83f718e087fa to your computer and use it in GitHub Desktop.
Github generate ssh key in one action
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
# /bin/bash | |
ssh-keygen -t ed25519 -C "$EMAIL" -N '' -q <<< $'\ny' > /dev/null 2>&1 | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_ed25519 | |
cat ~/.ssh/id_ed25519.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
__