Thanks Bill,
your suggestion did the trick. It wouldn't be a bad idea to remind at /usr/share/doc/Cygwin/openssh.README that sshd only works if cygwin is installed for all users (which is obvious, though)
That's what I did to fix it *delete the sshd_server *remove the NT service with "cygrunsrv --remove sshd" *Run the cygwin setup just changing "Just Me" to "All Users" *rerun ssh-host-config
best regards
William R. Knox wrote:
A usual question (sent strictly to you as I'm not sure if it is at all relevant) - did you install Cygwin for All Users or for yourself only? If you installed only for yourself, try reinstalling for All Users and see if this clears it up (no guarantees here, so don't do anything that would cause a lot of hassle for yourself based on my word alone). Good luck, and feel free to forward this message to the list if this solves it for you and you want to share the solution.
Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation
On Thu, 9 Dec 2004, daniel wrote:
Date: Thu, 09 Dec 2004 15:36:59 +0100 From: daniel <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: sshd in Windows 2003 server
Thanks, I actually executed ssh-host-config and chose to create the NT service and both the sshd and sshd_server users. Everything looks exactly the same as in my WinXP succesful installation. However, on my Win2003, when I run "cygrunsrv.exe --start sshd", I always get immediately the 1053 error. The cygrunsrv process stays running, but the NT service appears for ever as "starting". At the Windows Event Viewer, I can only see "The CYGWIN sshd service was successfully sent a start control.", but nothing else. No file /var/log/sshd.log is not created. Is there anything else I can check?
best regards
//
* /From/: "Harig, Mark" * /To/: <cygwin at cygwin dot com> * /Date/: Thu, 2 Dec 2004 10:30:22 -0500 * /Subject/: RE: sshd in Windows 2003 server
------------------------------------------------------------------------
Using 'openssh-host-config' is the only documented, supported approach to setting up a Cygwin openssh server. If you follow instructions from other locations, then you need to ask for assistance at those locations. The documentation for the Cygwin-specific openssh setup begins in /usr/share/doc/Cygwin/openssh.README.
-----Original Message----- From: daniel Sent: Thursday, December 02, 2004 6:32 AM To: [EMAIL PROTECTED] Subject: sshd in Windows 2003 server
Hi, I've installed sshd succesfully a couple of time on WinXP machines following the instructions at http://pigtail.net/LRP/printsrv/cygwin-sshd.html. However, I didn' manage on a Windows 2003 server. I always get "1053 did not start in a timely fashion" immediately on clicking on the Windows service "start" button. I tried with both enabling and disabling the privilege separation.
I don't think I have to follow the instructions at http://www.cygwin.com/ml/cygwin/2003-09/msg00977.html, since my cygwin version (cygwin DLL version: 1.5.12) already creates a ssd_server user with the privileges mentioned there.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/