www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/10/12:13:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20041210120503.047e7b90@pop.prospeed.net>
Date: Fri, 10 Dec 2004 12:08:53 -0500
To: daniel <daniel DOT pinol AT scytl DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: sshd in Windows 2003 server
In-Reply-To: <41B9D74C.9000203@scytl.com>
References: <41B86015 DOT 2050406 AT scytl DOT com> <41B8630B DOT 5050706 AT scytl DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0412091218120 DOT 3354 AT orne> <41B9D414 DOT 0 AT scytl DOT com> <41B9D74C DOT 9000203 AT scytl DOT com>
Mime-Version: 1.0

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. :-)

Larry

At 12:05 PM 12/10/2004, you wrote:

>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 <daniel DOT pinol AT scytl DOT com>
>>>To: cygwin AT cygwin DOT com
>>>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: cygwin AT cygwin DOT com
>>>>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/

--
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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019