This is the mail archive of the
mailing list for the Cygwin project.
Re: sshd in Windows 2003 server
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: daniel <daniel dot pinol at scytl dot com>, cygwin at cygwin dot com
- Date: Fri, 10 Dec 2004 12:08:53 -0500
- Subject: Re: sshd in Windows 2003 server
- References: <41B86015.email@example.com> <41B8630B.firstname.lastname@example.org> <Pine.GSO.4.58.0412091218120.3354@orne> <41B9D414.email@example.com> <41B9D74C.firstname.lastname@example.org>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
The shortcut for all of that process is to run the below:
mount -f -s -b "<DOS path to Cygwin installation directory>/bin" "/usr/bin"
mount -f -s -b "<DOS path to Cygwin installation directory>/lib" "/usr/lib"
mount -f -s -b "<DOS path to Cygwin installation directory>" "/"
FWIW, following the reporting guidelines at <http://cygwin.com/problems.html>
would have given the list this information in your initial post. In other
words, there's good stuff at this page. :-)
But as you can see, there is more than one way to a solution. :-)
At 12:05 PM 12/10/2004, you wrote:
>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"
>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@example.com>
>>>Subject: Re: sshd in Windows 2003 server
>>> 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?
>>> * /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.
>>>>Sent: Thursday, December 02, 2004 6:32 AM
>>>>Subject: sshd in Windows 2003 server
>>>> I've installed sshd succesfully a couple of time on WinXP
>>>>following the instructions at
>>>>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
>>>>version (cygwin DLL version: 1.5.12) already creates a
>>>>with the privileges mentioned there.
>>>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>>>Problem reports: http://cygwin.com/problems.html
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Problem reports: http://cygwin.com/problems.html
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html