Use ssh key for Git
Reference: Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
Generate ssh key
ssh-keygen -t ed25519 -C "your_email@example.com"# Start the ssh-agent in the background.eval "$(ssh-agent -s)"# Add your SSH private key to the ssh-agentssh-add ~/.ssh/id_ed25519
Add ssh key to Github
cat .ssh/id_ed25519.pub
Edit this page
Last updated on 8/27/2021