Menu

OpenSSH's New Default: Migrating to ECDSA NISTP384 Without Breaking Your Fleet
πŸ“°

OpenSSH's New Default: Migrating to ECDSA NISTP384 Without Breaking Your Fleet

DEV Community: cybersecurityΒ·Tamiz UddinΒ·about 17 hours ago
#fF46eOty
#devtocybersecurity#devto#dev#ecdsa#host
Long article (2065 words) β€” no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.