Creating a safe ssh key with the ed25519 algorithm

Don't use RSA or ECDSA, not anymore.

Use ed25519; it's simple, shorter, and more secure!

ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/gutocarvalho_ed25519 -C "gutocarvalho@bolha.us"

add to your agent to use easily

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/gutocarvalho_ed25519

ED25519?

Ed25519 is a public-key signature algorithm that was proposed by Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, and Bo-Yin Yang in their paper High-speed high-security signatures (doi.org/10.1007/s13389-012-0027-1) in 2011. More precisely, Ed25519 is an instance of the Edwards-curve Digital Signature Algorithm (EdDSA), where a twisted Edwards curve birationally equivalent to the curve called Curve25519 is used. Curve25599 is a very fast elliptic-curve-Diffie-Hellmann function that was proposed by Daniel J. Bernstein in his paper Curve25519: new Diffie-Hellman speed records in 2006.

Text from: https://blog.peterruppel.de/ed25519-for-ssh/

Why?

There are several aspects that make Ed25519 appealing for authentication in SSH:

Text from: https://blog.peterruppel.de/ed25519-for-ssh/

References


Did you like our content?

We have a lot to share; visit our site!

Our fediverse services ;)

Chat and video? We have it!

Translation tools

Video Platform Frontends

Text Editors

You can also visit our hacking space!

Follow our founder!

Follow the status of our tools

Do you want to support us? You can!

See you!

[s]