[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.
Clint Byrum
clint at fewbar.com
Mon Oct 17 22:44:10 UTC 2011
Hi Jon, sshd is no longer started and/or stopped with /etc/init.d/ssh
unless you are running inside a chroot.
The host keys are typically generated in the postinstall script of
openssh-server. You can find the copy that should be used for this at
/var/lib/dpkg/info/openssh-server.postinst. So if you don't have keys,
its likely that something went wrong during that process. Try this to
remedy the situation.
sudo apt-get install openssh-server --reinstall
Marking Incomplete pending response.
** Changed in: openssh (Ubuntu)
Status: New => Incomplete
** Changed in: openssh (Ubuntu)
Importance: Undecided => High
--
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/876910
Title:
When starting open ssh server without host keys in /etc/ssh/, the keys
are not automatically generated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/876910/+subscriptions
More information about the Ubuntu-server-bugs
mailing list