Skip to content

Instantly share code, notes, and snippets.

@devellopah
Last active February 23, 2023 22:19
Show Gist options
  • Save devellopah/552eba00e5030ef4d3f664ca5656dc0a to your computer and use it in GitHub Desktop.
Save devellopah/552eba00e5030ef4d3f664ca5656dc0a to your computer and use it in GitHub Desktop.

Open terminal
ssh-keygen -t ed25519 -C "your key title"
Provide path to custom-named ssh key
Enter a passphrase (twice for verification)
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ssh_key_custom_name
cat ~/.ssh/id_ssh_key_custom_name.pub | clip
Add new ssh key(github settings - ssh and gpg keys)
Test the setting with ssh -T git@github.com

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