openssh postinstall / ssh-host-install bugs

Bill C Riemers sourceforge@docbill.emailuser.net
Wed Apr 16 09:55:00 GMT 2003


I notice openssh does not have a postinstall script.  It might be a good idea to call ssh-host-install and ssh-user-install if
/etc/sshd_config does not exist...

That aside, I noticed one bug in the ssh-host-install script.  The /etc/ssh_host_key* files are create group and world readable.
With these permissions, sshd refuses to run.  There should be:
    chmod 644 /etc/ssh*
    chmod 600 /etc/ssh_host_key /etc/ssh_host_dsa_key
as part of the ssh-host-install script.

                                                  Bill




More information about the Cygwin-apps mailing list