Page MenuHomeFreeBSD

EC2: Disable RSA host key generation for sshd
ClosedPublic

Authored by cperciva on Sep 11 2024, 5:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 23, 5:51 AM
Unknown Object (File)
Sun, Sep 21, 4:47 PM
Unknown Object (File)
Aug 28 2025, 11:10 AM
Unknown Object (File)
Aug 27 2025, 5:37 PM
Unknown Object (File)
Aug 27 2025, 3:24 PM
Unknown Object (File)
Aug 24 2025, 2:24 PM
Unknown Object (File)
Jul 27 2025, 12:35 PM
Unknown Object (File)
Jun 15 2025, 9:47 PM
Subscribers

Details

Summary

These are largely obsolete, and generating them is responsible for
over 10% of the total boot time of EC2 instances.

Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Perhaps just do this globally?

Perhaps just do this globally?

I considered that, but thought maybe better to wait for 16 for that. After all, for physical servers, the amount of time spent generating the RSA host key is small compared to the time spent installing FreeBSD; it only matters in the context of "pre-installed" FreeBSD.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 18 2024, 6:48 AM
This revision was automatically updated to reflect the committed changes.