OpenSSH is retiring Ed25519 as its default key algorithm. Instead, the OpenSSH default key will now be ECDSA P-384. The change lands just days after the NSA urged an immediate move to post-quantum cryptography. However, this does not mean Ed25519 has been broken.
What Changed in the Code
The developers committed the changes between December 3 and 5, 2026. The OpenSSH source code commit swaps out the default key type and raises the ECDSA key size:
As a result, running ssh-keygen with no options will now create an ECDSA P-384 key. Previously, it produced an Ed25519 key.
A New Signature Order
The update also changes which signature algorithms OpenSSH prefers. Here is the new order:
- First: the ML-DSA-44 + Ed25519 hybrid
- Second: ECDSA P-384
- Third: Ed25519
In addition, OpenSSH now supports a stronger ML-DSA-87 + ECDSA P-384 hybrid.
Why the OpenSSH Default Key Changed
The timing is no accident. On December 1, the NSA advised an immediate transition to post-quantum cryptography. The agency warned that “Adversaries are already collecting encrypted information to decrypt once the capabilities become available.” It also stressed that “Delaying modernization exposes sensitive information, increases costs, and disrupts critical mission systems.”
Against classic attacks, Ed25519 offers about 128 bits of security. By contrast, ECDSA P-384 offers about 192 bits. Still, a strong enough quantum computer could break both. ML-DSA, on the other hand, is a NIST-standard signature scheme built to resist quantum attacks. That is why OpenSSH pairs it with a classic algorithm in its hybrid options.
OpenSSH has made this argument before. Its post-quantum guide warns that traffic sent today is at risk of decryption unless post-quantum key agreement is used.
What Admins Should Know
For now, there is no need to panic. Existing Ed25519 keys will keep working. Moreover, the changes have not yet reached a stable OpenSSH release.
Once a new release ships, however, scripts and onboarding guides that rely on the old default may behave differently. For example, tools that expect an id_ed25519 file could fail to find a key. Teams should check these workflows early and set the key type explicitly where it matters.
Even so, the new OpenSSH default key sends a clear signal. Admins should audit their SSH keys and plan for hybrid post-quantum signatures. Ed25519 is not broken, but OpenSSH is clearly speeding up its move to quantum-safe cryptography.
Support Our Threat Intelligence
Find our tech and OS security coverage helpful? Support our work today and unlock a 100% ad-free reading experience!