[ssh-l] Setting up sshd as a Windows service.

From: Adam K Kirchhoff <adamk_at_**********.***>
Date: Sat Jun 01 2002 - 22:00:35 EDT

So I'm definately not an ssh/sshd newbie... I've never had any problems
setting up sshd to run as a service under Linux.

However, I'm now trying to get it up and running as a service under
Windows XP Home, something I've never done before...

Now, I have ssh and sshd up and running. If I launch cygwin and run
'/usr/sbin/sshd' from the command line, it starts up without complaint.
Starting '/usr/sbin/sshd -d' starts it up, also without complaint.

Now comes the fun part: installing it as a service....

>From the command line:

[ adamk@SORROW ~ ]$ cygrunsrv -I sshd -p /usr/sbin/sshd -a '-D' -d 'CYGWIN
sshd ' -e 'CYGWIN=tty' -y tcpip

[ adamk@SORROW ~ ]$ cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started.

[ adamk@SORROW ~ ]$ uname -a
CYGWIN_NT-5.1 SORROW 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown

Any ideas? Please help! :-)

Adam

--
List Information: http://tech.erdelynet.com/maillist-ssh-l.asp
List Archives:    http://erdelynet.com/archive/ssh-l/
Received on Sat Jun 1 22:00:55 2002

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:35 EDT