[Bug 246558] Re: ssh's init script should generate host keys if they're missing

Soren Hansen soren at ubuntu.com
Tue Feb 23 20:56:57 GMT 2010


How about if I key off whether GSSAPIKeyExchange is set?

E.g. extend host_keys_required like so:

hostkeys="$(get_config_option HostKey)"
if [ "$hostkeys" ]; then
    echo "$hostkeys"
else
    if [ "$(get_config_option GSSAPIKeyExchange)" != "yes" ]
    then
        # No HostKey directives at all, so the server picks some
        # defaults depending on the setting of Protocol.
        [...]
    fi
fi

So, if the user has HostKeys set, those will be generated if they do not
exist. If no HostKeys are set, and GSSAPIKeyExchange is set, we don't
generate keys the user does not want. Will that make everyone happy?

-- 
ssh's init script should generate host keys if they're missing
https://bugs.launchpad.net/bugs/246558
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list