Re: cannot start sshd on cygwin- win xp
- From: ddunham@xxxxxxxx (Darren Dunham)
- Date: Fri, 02 Nov 2007 16:05:12 GMT
jameshanley39@xxxxxxxxxxx <jameshanley39@xxxxxxxxxxx> wrote:
how do I invoke it as a service using -D ?
$ cygrunsrv -I sshd -p /usr/sbin/sshd -D
cygrunsrv: unknown option -- D
This should normally be set up by the ssh-host-config script. Are you
using that? Sorry I didn't mention it earlier. You should use that
initially on the machine for configuring sshd.
Remove your current service and run that again....
Or, you can see from the script that one possibility for setting it up is
if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a -D -e "CYGWIN=${_cygwin}" -y tcpip
There the -a specifies arguments to pass to the binary (which in this
case is the '-D' immediately following).
--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
.
- Follow-Ups:
- Re: cannot start sshd on cygwin- win xp
- From: jameshanley39@xxxxxxxxxxx
- Re: cannot start sshd on cygwin- win xp
- References:
- Re: cannot start sshd on cygwin- win xp
- From: jameshanley39@xxxxxxxxxxx
- Re: cannot start sshd on cygwin- win xp
- From: Darren Dunham
- Re: cannot start sshd on cygwin- win xp
- From: jameshanley39@xxxxxxxxxxx
- Re: cannot start sshd on cygwin- win xp
- Prev by Date: Re: cannot start sshd on cygwin- win xp
- Next by Date: Re: cannot start sshd on cygwin- win xp
- Previous by thread: Re: cannot start sshd on cygwin- win xp
- Next by thread: Re: cannot start sshd on cygwin- win xp
- Index(es):