This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
openssh postinstall / ssh-host-install bugs
- From: "Bill C Riemers" <sourceforge at docbill dot emailuser dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Wed, 16 Apr 2003 05:53:35 -0400
- Subject: 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