Originally published on tamiz.pro .
OpenSSH just changed the default key type that ssh-keygen generates from ECDSA NISTP256 to ECDSA NISTP384. If you've been running the same ssh-keygen command in scripts, CI pipelines, or container builds for years, the next key you generate will land on a 384-bit curve β and if you're not paying attention, your next known_hosts mismatch or authorized_keys update will catch you off guard. This guide covers exactly what changed, why OpenSSH made the move, and the step-by-step migration you should run on every host, user, and CI runner before your next deployment breaks.
1. What Actually Changed
2. Why ECDSA NISTP384
3. Prerequisites
4. Step-by-Step Migration
5. Edge Cases and Gotchas
6. Production Best Practices
Frequently Asked Questions
1. What Actually Changed
Running ssh-keygen with no -t flag has produced an ECDSA key on the NIST P-256 curve ( ecdsa-sha2-nistp256 ) since OpenSSH 7.0.β¦