Re: Problems using sshd as a service

2002-12-04 Thread Max Bowsher
On Wed, 4 Dec 2002, David Brown wrote: DB> I have found, however, that I need to add -a "-D" to the cygrunsrv DB> installation flags to be able to get sshd to start as a service without DB> errors, and to be able to start and stop it with net start and net stop. Are you aware of /usr/bin/ssh-host

Re: Problems using sshd as a service

2002-12-04 Thread David Brown
I am afraid I cannot get the permissions to work out right. Perhaps it is because I have done too much with cygwin without "ntsec", or perhaps I must reboot after adding CYGWIN="ntsec" to my environment variables (although your suggested -e setting in the cygrunsrv line should fix that). Fortunate

Re: Problems using sshd as a service

2002-12-04 Thread David Brown
> On Wed, Dec 04, 2002 at 10:53:52AM +0100, David Brown wrote: > > > On Wed, Dec 04, 2002 at 10:33:41AM +0100, David Brown wrote: > > > > I am trying to get sshd to run as a service on my W2K SP2 machine. I > > have > > > > got sshd set up properly (as far as I know), with all the keys and files >

Re: Problems using sshd as a service

2002-12-04 Thread Prentis Brooks
First guess is that permissions on the keys are wrong. Based on your cygrunsrv line, I expect you are running the service as System, however, when you start by hand, you are not System. For sshd to work in those conditions, you would have to own the key files. Another possibility, related to the

Re: Problems using sshd as a service

2002-12-04 Thread Marc Girod
> "DB" == David Brown <[EMAIL PROTECTED]> writes: DB> Any ideas would be much appreciated. I had similar problems recently, and Corinna Vinschen (among others) helpped me to solve them. Just look at messages in this group/list with a subject of: sshd installation on NT 5.0 between 26 and

Re: Problems using sshd as a service

2002-12-04 Thread Olaf Foellinger
On Wed, Dec 04, 2002 at 10:33:41AM +0100, David Brown wrote: > I am trying to get sshd to run as a service on my W2K SP2 machine. I have > got sshd set up properly (as far as I know), with all the keys and files it > needs. If I start a cygwin bash shell and type "/usr/sbin/sshd", then the > serv