Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Neil Aggarwal" To: Subject: CYGWIN sshd service could not be started Date: Mon, 2 May 2005 13:25:12 -0500 Message-ID: <000601c54f44$479cdc80$6c01a8c0@dell5100> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Status: Clean X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j42IP759027822 Hello: When I try to run: net start sshd I get this message: The CYGWIN sshd service could not be started. The event viewer has this event: The description for Event ID (0) in Source (sshd) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd: PID 3700 : starting service `sshd' failed: execv: 255, error 255. I am trying to run it on Windows Server 2003. Here is what I did: Create a direcotry C:\Cygwin Visit http://sources.redhat.com/cygwin/ in your browser Click on the Install Cygwin Now link. Copy the setup.exe file to C:\Cygwin on your hard disk and run it. On the cygwin setup intro screen, hit Next Choose the "Install from Internet" selection and hit Next. On the next screen: For the Install Root Directory, give it C:\Cygwin For Default Text File Type, select DOS For Install For, select Just Me Hit Next For Local Package Directory, enter C:\Cygwin\Packages and hit Next. For the connection, select Direct Connection and hit Next. For the download site, choose any site prefixed by ftp:// and hit Next. On the select packages to install, I added the Net -> OpenSSH package. When the installation finishes, check the boxes for Create Desktop Icon and Add to Start Menu and hit Next. Hit OK on the Installation Complete dialog. Right click on My Computer, select Properties, click the Advanced tab, click the Environmental Variables button Click the New button under System variables, set the Variable name to CYGWIN, set the variable value to "ntsec tty" (without the quotes) and click the OK button. Select the Path variable, click the Edit button, append ;C:\Cygwin\bin to the value, and click the OK button Click the OK button to close the Environmental Variables sceen Click the OK button to close the System Properties screen Open a cygwin window by double-clicking on the Cygwin icon on the desktop Run ssh-host-config When the script asks you about "privilege separation", answer yes. When the script asks about "local user", answer yes. When the script asks you about "install sshd as a service", answer yes When the script asks you to create a "sshd_server" account, answer yes When prompted to enter a password for the "sshd_server" account, enter a password and hit the enter key When the script asks you for "CYGWIN=", type "ntsec tty" (Without the quotes) Type "net start sshd" to start the daemon Any ideas what went wrong? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com -- 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/