[Bug 1370523] Re: After Precise->Trusty, no /etc/ssh/ssh_host_ed25519_key is created
Simon Déziel
1370523 at bugs.launchpad.net
Wed Sep 17 14:47:15 UTC 2014
*** This bug is a duplicate of bug 1005440 ***
https://bugs.launchpad.net/bugs/1005440
The openssh-server.postint does have code to create missing host keys:
host_keys_required() {
hostkeys="$(get_config_option HostKey)"
if [ "$hostkeys" ]; then
echo "$hostkeys"
else
# No HostKey directives at all, so the server picks some
# defaults depending on the setting of Protocol.
protocol="$(get_config_option Protocol)"
[ "$protocol" ] || protocol=1,2
if echo "$protocol" | grep 1 >/dev/null; then
echo /etc/ssh/ssh_host_key
fi
if echo "$protocol" | grep 2 >/dev/null; then
echo /etc/ssh/ssh_host_rsa_key
echo /etc/ssh/ssh_host_dsa_key
echo /etc/ssh/ssh_host_ecdsa_key
echo /etc/ssh/ssh_host_ed25519_key
fi
fi
}
And running "dpkg-reconfigure openssh-server" fixes the issue.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1370523
Title:
After Precise->Trusty, no /etc/ssh/ssh_host_ed25519_key is created
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1370523/+subscriptions
More information about the Ubuntu-server-bugs
mailing list