Skip to content

Instantly share code, notes, and snippets.

@ssyrota
Last active May 13, 2023 12:21
Show Gist options
  • Save ssyrota/0958a9c1d2daae39898a83f718e087fa to your computer and use it in GitHub Desktop.
Save ssyrota/0958a9c1d2daae39898a83f718e087fa to your computer and use it in GitHub Desktop.
Github generate ssh key in one action
# /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
@ssyrota
Copy link
Author

ssyrota commented May 13, 2023

__

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment