This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CYGWIN sshd service could not be started


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]