OpenSSH has changed the key that ssh-keygen makes when you don’t name a type. A commit on 3 December swaps Ed25519 for ECDSA on the P-384 curve, and a second one moves a post-quantum hybrid to the top of the signature preference list. Neither is in a release. I built the 5 December code and ran it against the build from 1 December.
Nothing already on disk breaks. The new default only applies to keys you make from now on, and Ed25519 is still one flag away. What does move is the set of host keys a fresh install generates, and the order in which a client prefers key types. It lands in the same week as the NSA’s post-quantum advisory and the joint statement from the big tech companies.
What the commits changed
Damien Miller committed the default-key change on 3 December. The message is one line.
upstream: switch default key type generated to ECDSA NISTP384; ok markus@
Commit 5b63da2, OpenSSH
It changes two values in ssh-keygen.c. The default type goes from ed25519 to ecdsa, and the default ECDSA size goes from 256 bits to 384. That second edit is why asking for an ECDSA key with no size now gives you P-384 as well.
A minute later Miller committed a change to the signature preference order, “to prefer ML-DSA 44/ed25519 hybrid followed by ECDSA NISTP384”. A follow-up on 4 December from another OpenBSD developer, naddy, was titled “actually change the default signature algorithm preference order”. It moved plain Ed25519 below both. On 5 December Miller added a second hybrid, ML-DSA-87 with ECDSA P-384, as ssh-mldsa87-p384. The commit says it’s “not yet enabled by default”. ML-DSA-87 is the signature parameter set in the NSA’s CNSA 2.0 table, and both hybrids follow the IETF composite signatures draft that Miller edits.
Ed25519 has held the default since OpenSSH 9.5 in 2023, when its release notes said “ssh-keygen(1): generate Ed25519 keys by default”.
| Behaviour | 1 December build | 5 December build |
|---|---|---|
ssh-keygen with no -t | Ed25519 | ECDSA, 384-bit |
ssh-keygen -t ecdsa | 256-bit | 384-bit |
| Hybrid in the signature order | Last | First |
| Ed25519 in the signature order | First | Third |
Host keys from ssh-keygen -A | RSA, ECDSA 256, Ed25519, ML-DSA-44 hybrid | RSA, ECDSA 384, Ed25519, ML-DSA-44 hybrid, ML-DSA-87 hybrid |

What I ran
I built portable OpenSSH from master on 5 December and from the last commit before the change, which is from 1 December. The machine had 4 cores, 15 GB RAM and Ubuntu 24. Both builds still report themselves as 10.6p2, so ssh -V can’t tell you which one you’ve got.
With no type given, the 1 December build made an Ed25519 key and the 5 December build made an ECDSA 384 key. Asking for ECDSA with no size went from 256 to 384, and asking for Ed25519 still gives the same kind of key as before.

Printing the client’s default host key algorithms shows the order. On the 1 December build the hybrid sits last, after RSA. On the 5 December build it’s first, then P-384, with Ed25519 third.


A fresh install runs ssh-keygen -A to create its host keys. On the 5 December build that gives five: RSA 3072, ECDSA 384, Ed25519 and the two hybrids. The 1 December build made four, with ECDSA at 256.

The hybrids cost bytes. The public key file is 89 bytes for Ed25519, 213 for P-384, 1,857 for the ML-DSA-44 hybrid and 3,650 for the ML-DSA-87 hybrid. The draft puts the first hybrid’s raw public key at 1,312 bytes of ML-DSA-44 plus 32 of Ed25519. I timed 60 logins per key type against the new sshd over loopback. All three took about 137 ms at the median, so the larger key doesn’t show up on loopback.

What older clients do
I ran the 5 December sshd with three host keys: the new-default P-384, Ed25519 and the ML-DSA-44 hybrid. I logged in from the new build and from the stock OpenSSH 9.6p1 client that ships with Ubuntu 24.

Ed25519 and P-384 keys worked from every client. The new client chose the hybrid host key. The Ubuntu client chose Ed25519 and connected without trouble. The one failure was a hybrid user key from the Ubuntu client, which was denied because that release predates the hybrid. An ML-DSA-87 key logged in from the new build once I allowed it on both ends, since the second hybrid isn’t on by default.
Other clients haven’t all caught up. An open issue on Win32-OpenSSH says its preview is still on 10.4 and lacks the 10.6 hybrid name. The IETF draft lists Bitvise as supporting it. GitHub’s docs list RSA, ECDSA and Ed25519 public key files and no hybrid, and a docs issue opened on 3 December asks GitHub to review its Ed25519 recommendation.
Why now
The commit messages give no reason, but the timing is documented. On 2 December the NSA told operators of national security systems to speed up their move to post-quantum cryptography. Its advisory tells owners to inventory algorithms that aren’t approved in CNSA 1.0 or 2.0, and its examples include “elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA”. That puts P-384 on the approved side and Ed25519 off it. The new OpenSSH default lands on the approved side.

Cryptographer Filippo Valsorda reads the advisory as saying 256-bit curves, which covers P-256 and Ed25519, are likely broken or weaker than thought, and that P-384 and RSA might do as a stopgap. His advice includes updating to OpenSSH 10.6 and rotating to ssh-mldsa44-ed25519 keys. That’s his reading, not the NSA’s.
On 5 December OpenAI and Anthropic said researchers at each company, testing unreleased models, separately found weaknesses in “some of the cryptography that protects the internet”. They said NIST’s post-quantum standards don’t share them, and they didn’t name the algorithms. The OpenSSH commit messages don’t mention any of this.
Other projects moved the same way that week. Chrome said it will stop trusting P-256 CA keys from 15 March 2027, as I covered in my Chrome piece. Mozilla plans to promote P-384 where hybrid key exchange isn’t available, and Let’s Encrypt recommends that ACME clients default to 384-bit ECDSA keys. My post-quantum checklist covers the server side.
Where the OpenSSH commits come from
The 10.6 release notes say the team has received a large number of security reports, many of them found by AI models or with AI help. Several AI-found bugs were later found independently by other researchers, so the team is making more frequent releases. I counted the git log of the portable repository: 203 of the 281 commits since 26 October name Anthropic or carry an ANT-2026 report number in the message. The 10.6 notes also credit Chris Rohlf, working with Claude and Anthropic Research, for suggesting that key types be checked as early as parse time.
The latest release is 10.6p2, from 5 November. It has the ML-DSA-44 hybrid but not the new defaults, and I found no announcement of the release that will carry them.
What to do
- Check your version with
ssh -V. Nothing changes until you run a release that includes these commits. - Leave existing keys alone. Ed25519 keys keep working.
- In scripts and onboarding guides that call
ssh-keygenwith no type, add the type you want, so a new release can’t change it. - Use a hybrid only where both ends run 10.6 or later and the host you’re logging in to accepts it.
ssh -V
ssh-keygen -t ed25519 -C "[email protected]"
ssh-keygen -t ecdsa -b 384 -C "[email protected]"
ssh-keygen -t mldsa44-ed25519 -C "[email protected]"

What I didn’t test
I ran everything on loopback on one machine. I didn’t test GitHub, GitLab or other hosts with a P-384 or hybrid key, Windows OpenSSH, FIDO keys, whose types are still only ed25519-sk and ecdsa-sk, or any distro package, because no release carries the change.
Sources: OpenSSH commit 5b63da2; commit 0b47a8f; commit 310181f; commit fc6f265; OpenSSH 10.6 release notes; OpenSSH release notes; draft-ietf-sshm-composite-sigs-01; NSA, “Immediate Actions to Push Toward Post-Quantum”; Filippo Valsorda, “What to Make of the NSA Advisory”; OpenAI and Anthropic joint statement, 5 December; GitHub, checking for existing SSH keys; Win32-OpenSSH issue 2504.
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




