How To Generate Ed25519 SSH Keys

RSA SSH keys are either insecure (too small) or inconvenient (too large). Instead you should use Ed25519 keys which are 32 bytes long and provides ~128 bits of security, similar to ~3000 bits (375 bytes) long RSA keys.

Here is how to generate Ed25519 SSH keys:

$ ssh-keygen -t ed25519 -a 256 -C ""
1 email / week to learn how to (ab)use technology for fun & profit: Programming, Hacking & Entrepreneurship.
I hate spam even more than you do. I'll never share your email, and you can unsubscribe at any time.

Tags: devops, cryptography

Want to learn Rust, Cryptography and Security? Get my book Black Hat Rust!