hn.today

My SSH Hardening Config on Debian

jonathancarter.org8 points1 comments
Screenshot of My SSH Hardening Config on Debian

The piece explains why SSH sessions using conventional RSA or elliptic-curve key exchange could face “store now, decrypt later” risk: attackers can retain encrypted traffic and potentially decrypt it if future quantum computers can recover private keys from public ones. The author sees no cause for immediate panic, but argues that adopting post-quantum protections now is straightforward. A Debian server with a mostly default SSH setup received a failing score from an online audit, prompting the author to tighten its algorithms. The suggested server configuration permits Ed25519 host keys, hybrid post-quantum key exchange using ML-KEM or SNTRUP with X25519, and stronger encrypt-then-MAC options.

The author stresses that this is a personal configuration, not official Debian guidance, and is intended for systems where compatibility with older clients is unimportant. Administrators should back up configuration files and ensure they have an alternate way to access a remote machine before changing SSH settings; clients may also need additional host-key algorithms if they do not use Ed25519. On some Debian images, the SSH configuration must explicitly include the snippets directory for the hardening file to take effect. The audit improved to an A, though it still penalized ChaCha20-Poly1305, which the author keeps because Debian already addressed the cited vulnerability. The discussion also notes that modern browsers and TLS implementations are adopting hybrid post-quantum key exchange, and points readers toward a site for checking a domain’s TLS support.

Read on jonathancarter.org1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Practical Quantum Safe Bitcoin

Practical Quantum Safe Bitcoin

Practical Quantum Safe Bitcoin presents Legacy and SegWit methods designed to protect Bitcoin spends against quantum attacks, with adjustable security levels and measured signing times. SegWit versions meet standard relay limits, and spends using both methods have been mined on Bitcoin mainnet. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.