SSH
Last updated: 5 Aug 2020 ·
Posted in wiki#notes
Check for existing keys
ls -al ~/.ssh
Generate a new key
ssh-keygen -t ed25519 -C "your_email@example.org" # Recommended
ssh-keygen -t rsa -b 4096 -C "your_email@example.org" # For legacy systems
Add your key to the ssh-agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/<Private key file>