[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-12-17 Thread Launchpad Bug Tracker
[Expired for openssh (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openssh (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchp

Re: [Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-18 Thread Clint Byrum
Excerpts from Jon's message of Tue Oct 18 19:10:18 UTC 2011: > Hello Clint, > > >> No, upstart jobs are designed to be short and pointed ways to define how > >> a daemon starts and stops. /etc/init.d is only for backward compatibility > >> in an upstart system. The ssh init.d script was left the w

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-18 Thread Jon
Hello Clint, >> No, upstart jobs are designed to be short and pointed ways to define how >> a daemon starts and stops. /etc/init.d is only for backward compatibility >> in an upstart system. The ssh init.d script was left the way it is because >> of chroot jails for sshd, but it is not necessary f

Re: [Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Clint Byrum
Excerpts from Jon's message of Mon Oct 17 23:27:30 UTC 2011: > Hello Clint, > > >> sshd is no longer started and/or stopped with /etc/init.d/ssh unless you > >> are running inside a chroot. > I'm new to upstart, so forgive my ignorance, but I thought upstart still used > the init scripts to star

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Jon
After further testing, determined that my patch did not actually resolve the issue. Seems to be an issue with triggering the following sub: check_rsa_keys () { #Checks for the existance of RSA keys and generates them if necessary RSA1_KEY=/etc/ssh/ssh_host_key RSA_KEY=/etc/ssh/ssh_hos

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Jon
** Patch removed: "Added subroutine to check and create SSH Host keys if they are not present" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/876910/+attachment/269/+files/ssh_init_fix.patch -- You received this bug notification because you are a member of Ubuntu Server Team, whi

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Jon
Hello Clint, >> sshd is no longer started and/or stopped with /etc/init.d/ssh unless you are >> running inside a chroot. I'm new to upstart, so forgive my ignorance, but I thought upstart still used the init scripts to start and/or stop the jobs. >> The host keys are typically generated in the

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Clint Byrum
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 y

[Bug 876910] Re: When starting open ssh server without host keys in /etc/ssh/, the keys are not automatically generated.

2011-10-17 Thread Jon
** Patch added: "Added subroutine to check and create SSH Host keys if they are not present" https://bugs.launchpad.net/bugs/876910/+attachment/269/+files/ssh_init_fix.patch ** Description changed: + System Information 1) lsb_release -rd Description:Ubuntu 11.10 Release: