# Generate SSH key
ssh-keygen -t ed25519 -C "[email protected]"
# Store the above in a file "~/.ssh/id_github_ed25519"
# Start ssh agent in the background
eval "$(ssh-agent -s)"
# Add ssh key locally
ssh-add ~/.ssh/id_github_ed25519
# Copy the public key's content
cat ~/.ssh/id_github_ed25519.pub
# Copy the content to github (https://github.com/settings/keys), by creating a new SSH key:
Created
May 12, 2025 15:23
-
-
Save tushar2708/4cda3d29908328f67454e536b78bb87f to your computer and use it in GitHub Desktop.
Github SSH setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment