This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

openssh postinstall / ssh-host-install bugs


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]