Mail Archives: cygwin/2002/07/23/12:23:30
I've set up sshd under Win2K with no problems on two boxes, but now I'm having
a weird issue I can't figure out. Whenever I try to start it as a service, I
get the "WARNING: UNPROTECTED PRIVATE KEY FILE!" error in /var/log/sshd.log.
It says the permissions for /etc/ssh_host_dsa_key are set to 644, but they
aren't, darn it. They're 600. If I change it to 400, sshd claims they're 444.
The permissions match in the windows security tab for the file. I have CYGWIN
set for the system to 'ntsec tty'. I do seem to be able to run it as myself
from the command line (I have to take ownership of /etc/ssh_host_dsa_key, of
course). I thought maybe the CYGWIN variable wasn't set correctly for the
SYSTEM account so I rebooted, but that didn't help.
The really odd thing is that this happens even if I set StrictModes to "No".
Any ideas? I looked through the archives and saw a few other people'd had this
problem, but none of the suggested solutions I've found so far have worked for
me.
------------------------------------------------------------------------------
Kim Scarborough http://www.unknown.nu/kim/
------------------------------------------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -