** Patch added: "Added subroutine to check and create SSH Host keys if they are not present" https://bugs.launchpad.net/bugs/876910/+attachment/2555569/+files/ssh_init_fix.patch
** Description changed: + System Information 1) lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 + SSH Version 2) apt-cache policy openssh-server openssh-server: - Installed: 1:5.8p1-7ubuntu1 - Candidate: 1:5.8p1-7ubuntu1 - Version table: - *** 1:5.8p1-7ubuntu1 0 - 500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 1:5.8p1-7ubuntu1 + Candidate: 1:5.8p1-7ubuntu1 + Version table: + *** 1:5.8p1-7ubuntu1 0 + 500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages + 100 /var/lib/dpkg/status - 3) SSH should automatically create host keys when it detest there are - host keys are not present in /etc/ssh + Expected Behavior: + 3) SSH should automatically create host keys when it detect the host keys are not present in /etc/ssh + Observed Behavior: 4) SSH did not generate host keys - 5) Created the attached patch to resolve the issue locally. Presented - as a solution to the problem. + Solution: + 5) Created the attached patch to resolve the issue locally. Presented as a solution to the problem. + -- Check for existence of /etc/ssh/*_host_* + -- create host keys unless exists ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: openssh-server 1:5.8p1-7ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4 Uname: Linux 3.0.0-12-server x86_64 ApportVersion: 1.23-0ubuntu3 Architecture: amd64 Date: Mon Oct 17 16:12:28 2011 InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011) ProcEnviron: - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: openssh UpgradeStatus: No upgrade log present (probably fresh install) mtime.conffile..etc.init.d.ssh: 2011-10-17T15:57:55.578332 -- 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 -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
