Use Ed25519 SSH Keys
- Check current available SSH keys.
#!/usr/bin/env bash
for key in ~/.ssh/id_*; do
ssh-keygen -l -f "${key}"
done | uniq
- Generate the Ed25519 SSH keys.
ssh-keygen \
-o -a 100 \
-t ed25519 \
-f ~/.ssh/id_ed25519 \
-C "username@hostname"
- Read Risan’s post about Ed25519 for more details.