# SSH Keys Compared: RSA, ECDSA, Ed25519

DevFeed: [SSH Keys Compared: RSA, ECDSA, Ed25519](<https://devfeed.tech/articles/ssh-keys-compared-rsa-ecdsa-ed25519-29611.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/comparing-ssh-keys/>)

Author: ev@goteleport.com (Ev Kontsevoy)

Published: 2022-04-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [OpenSSH](<https://devfeed.tech/topics/openssh.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [public key](<https://devfeed.tech/topics/public-key.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [certificates](<https://devfeed.tech/topics/certificates.md>), [Post-Quantum](<https://devfeed.tech/topics/post-quantum.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [ecdsa](<https://devfeed.tech/tags/ecdsa.md>), [ed25519](<https://devfeed.tech/tags/ed25519.md>), [openssh](<https://devfeed.tech/tags/openssh.md>), [post-quantum](<https://devfeed.tech/tags/post-quantum.md>), [private-key](<https://devfeed.tech/tags/private-key.md>), [public-key](<https://devfeed.tech/tags/public-key.md>), [rsa](<https://devfeed.tech/tags/rsa.md>), [ssh](<https://devfeed.tech/tags/ssh.md>)

## AI overview

A guide to SSH public-key authentication that compares RSA, ECDSA, and EdDSA (Ed25519), recommends Ed25519 for most uses, and discusses older-system compatibility, key generation, fingerprints, rotation, and certificates.

## Source excerpt

Comparing SSH keys: RSA, DSA, ECDSA, and Ed25519 explained, with a straight algorithm recommendation and the move from keys to certificates. Read on.