Git and SSH Basics
Nov 25, 2020
- List all keys
ls -al ~/.ssh/*.pub
2. Remove all keys
rm ~/.ssh/id_*.pub
3. Create keys
ssh-keygen -o -t rsa -b 4096 -C "email@example.com"
3. Copy keys signed with ed25519 algorithm
cat ~/.ssh/id_ed25519.pub | clip
4. Test ssh works
ssh -T git@(host t.ex. git.int.verket.se)