Red Hat Bugzilla – Bug 235466
sshd init.d script should allow override of server key creation
Last modified: 2007-11-30 17:12:01 EST
(I am filing this bug against FC7test3, but it applies to all versions of FC and
Currently, /etc/rc.d/init.d/sshd unconditionally creates any server keys which
This is irritating, because we define specific (and limited) HostKeys in
/etc/ssh/sshd_config, and don't want the extra HostKeys lying around.
This patch will make it so that setting NO_AUTOCREATE_SERVER_KEYS to NO in
/etc/sysconfig/sshd will cause the sshd init.d file not to automatically create
Created attachment 151814 [details]
add support for NO_AUTOCREATE_SERVER_KEYS setting
Created attachment 151815 [details]
add support for overriding autocreation of HostKeys
Actually, I just realized that variable is poorly named, as setting it requires
a double negative. Simply AUTOCREATE_SERVER_KEYS is better.
Fedora 7 test bugs should be filed against "devel", not against test1/2/3. This
isn't obvious, I know. Moving this report so it isn't lost.
This is a bulk message -- I apologize if this was actually meant to be targeted
against a different release. If so, please fix or let me know. Thanks.