Enter ls -al ~/.ssh
to see if existing SSH keys are present.
Paste the text below, substituting in your GitHub email address.
ssh-keygen -t ed25519 -C "your_email@example.com"
Start SSH agent in background
eval "$(ssh-agent -s)"
add key to ssh agent
ssh-add ~/.ssh/id_ed25519
Display added SSH Key
cat ~/.ssh/id_ed25519.pub
Top comments (0)