problem starting sshd

2004-10-09 Thread Yi Chu
Please help a biginner. I installed openssh, and tried to start sshd. Here is the error message. $ cygrunsrv --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. What is wrong and how do I fix it? I am running Windows200 i

Re: problem starting sshd

2004-10-18 Thread Kevin Bowen
Yi Chu wrote: Please help a biginner. I installed openssh, and tried to start sshd. Here is the error message. $ cygrunsrv --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. What is wrong and how do I fix it? I am running

Problem starting sshd as a service

2004-08-03 Thread Mike Kenny - BCX - Infrastructure Services
I installed the entire cygwin package for use by everyone. Then, as Administrator, I run $ cygrunsrv -I sshd --path /usr/sbin/sshd $ cygrun -S sshd this results in a Win32 error 1062 starting a service. I have done the same thing on other systems in the past without an error. And the logs show n

Re: Problem starting sshd as a service

2004-08-04 Thread Erik Weibust
Check out this site for very good instructions on setting up sshd via cygwin. http://tech.erdelynet.com/cygwin-sshd.html Erik Weibust http://erik.weibust.net --- Mike Kenny - BCX - Infrastructure Services <[EMAIL PROTECTED]> wrote: > I installed the entire cygwin package for use by everyone. Th

Re: Problem starting sshd as a service

2004-08-04 Thread Christopher Faylor
On Wed, Aug 04, 2004 at 05:33:51AM -0700, Erik Weibust wrote: >Check out this site for very good instructions on setting up sshd via >cygwin. > >http://tech.erdelynet.com/cygwin-sshd.html And, then, if you have further problems with sshd, make sure that you send all of your inquiries there, too...

Re: Problem starting sshd as a service

2004-08-05 Thread Gernot Hillier
Hi! Am Mittwoch, 4. August 2004 14:33 schrieb Erik Weibust: > > I installed the entire cygwin package for use by everyone. Then, as > > Administrator, I run > > $ cygrunsrv -I sshd --path /usr/sbin/sshd > > $ cygrun -S sshd > > > > this results in a Win32 error 1062 starting a service. For me it

Re: Problem starting sshd as a service

2004-08-05 Thread Corinna Vinschen
On Aug 5 10:07, Gernot Hillier wrote: > Hi! > > Am Mittwoch, 4. August 2004 14:33 schrieb Erik Weibust: > > > I installed the entire cygwin package for use by everyone. Then, as > > > Administrator, I run > > > $ cygrunsrv -I sshd --path /usr/sbin/sshd > > > $ cygrun -S sshd > > > > > > this resu

Re: Problem starting sshd as a service

2004-08-05 Thread Gernot Hillier
Hi! Am Donnerstag, 5. August 2004 10:38 schrieb Corinna Vinschen: > > For me it was necessary to chown /etc/sshd_* and /var/empty to user > > SYSTEM manually in current Cygwin versions so that sshd would start. > > > > I also didn't need to do that in earlier Cygwin versions. > > That's what the s

Re: Problem starting sshd as a service

2004-08-05 Thread Corinna Vinschen
On Aug 5 10:53, Gernot Hillier wrote: > Hi! > > Am Donnerstag, 5. August 2004 10:38 schrieb Corinna Vinschen: > > > For me it was necessary to chown /etc/sshd_* and /var/empty to user > > > SYSTEM manually in current Cygwin versions so that sshd would start. > > > > > > I also didn't need to do t

Re: Problem starting sshd as a service

2004-08-05 Thread Gernot Hillier
Hi! Am Donnerstag, 5. August 2004 10:59 schrieb Corinna Vinschen: > Have a look into the script, right at the end. chown is only called > if sshd has been installed as service. Otherwise the script assumes > that sshd is going to be run from some user account in a console > window. In that case

Re: Problem starting sshd as a service

2004-08-05 Thread Corinna Vinschen
On Aug 5 11:11, Gernot Hillier wrote: > Am Donnerstag, 5. August 2004 10:59 schrieb Corinna Vinschen: > > Perhaps that's the problem. People running the script and decide not > > to install sshd as service, but change their mind at some later point. > > Well, for me it didn't work. Here's exactl

Re: Problem starting sshd as a service

2004-08-05 Thread Gernot Hillier
Hi! Am Donnerstag, 5. August 2004 11:24 schrieb Corinna Vinschen: > > - setup ssh: > > - set environment variable CYGWIN to "ntsec tty" (Control Panel/ > > System/Advanced/Environmental Variables) > > - call "ssh-host-config -y" in a cygwin window --> creates a user "sshd" > > - ch

Re: Problem starting sshd as a service

2004-08-05 Thread Andrew DeFaria
Corinna Vinschen wrote: Have a look into the script, right at the end. chown is only called if sshd has been installed as service. Otherwise the script assumes that sshd is going to be run from some user account in a console window. In that case, chown'ing to system wouldn't make much sense. But

Re: Problem starting sshd as a service

2004-08-05 Thread Christopher Faylor
On Thu, Aug 05, 2004 at 03:43:07PM +0200, Mike Kenny - BCX - Infrastructure Services wrote: >Thanks Cristopher this looks like a very useful site. Huh? Don't thank me. I didn't provide the URL and I'm not advocating the use of that site in any way. I consider it to be an irritant more than any

Re: Problem starting sshd as a service

2004-08-05 Thread Christopher Faylor
On Thu, Aug 05, 2004 at 07:45:25AM -0700, Andrew DeFaria wrote: >Corinna Vinschen wrote: >>Have a look into the script, right at the end. chown is only called if >>sshd has been installed as service. Otherwise the script assumes that >>sshd is going to be run from some user account in a console w

RE: Problem starting sshd as a service

2004-08-05 Thread Larry Hall
m/acronyms/#PCYMTNQREAIYR> >> Subject: Re: Problem starting sshd as a service >> >> >> On Wed, Aug 04, 2004 at 05:33:51AM -0700, Erik Weibust wrote: >> >Check out this site for very good instructions on setting up sshd via >> >cygwin. >> > >>

Re: Problem starting sshd as a service

2004-08-05 Thread Corinna Vinschen
On Aug 5 07:45, Andrew DeFaria wrote: > Corinna Vinschen wrote: > > >Have a look into the script, right at the end. chown is only called if > >sshd has been installed as service. Otherwise the script assumes that > >sshd is going to be run from some user account in a console window. In > >that

RE: Problem starting sshd as a service

2004-08-05 Thread Mike Kenny - BCX - Infrastructure Services
5, 2004 4:45 PM > To: Mike Kenny - BCX - Infrastructure Services; [EMAIL PROTECTED] > Subject: RE: Problem starting sshd as a service > > > At 09:43 AM 8/5/2004, you wrote: > >Thanks Cristopher this looks like a very useful site. > > > Actually, I believe you me