Re: Problems starting sshd as a service on cygwin 1.7.3

2010-04-19 Thread Larry Hall (Cygwin)
On 4/19/2010 12:57 PM, Myron Flickner wrote: On one machine sshd startup still fails with a " QueryServiceStatus: Win32 error 1062:" even after upgrading to cygwin 1.7.5-1. If it fails the log file \var\log\sshd.log is not created. If I run the script below I can get sshd to start. I've tri

Re: Problems starting sshd as a service on cygwin 1.7.3

2010-04-19 Thread Myron Flickner
y 26, 2010 3:40:31 PM Subject: Re: Problems starting sshd as a service on cygwin 1.7.1 Problem remains - If I repeat the cgyrunsrv -S sshd command eventually it works. Disabling Symantec Client Firewall didn't fix this. I've attached the cygcheck.out file.Is there any other tra

Re: Problems starting sshd as a service on cygwin 1.7.1

2010-01-26 Thread Myron Flickner
41 PM Subject: Re: Problems starting sshd as a service on cygwin 1.7.1 On Tue, Jan 26, 2010 at 6:40 PM, Myron Flickner wrote: > Problem remains - If I repeat the cgyrunsrv -S sshd command eventually it > works. > > Disabling Symantec Client Firewall didn't fix this. > > I'

Re: Problems starting sshd as a service on cygwin 1.7.1

2010-01-26 Thread Gregg Levine
On Tue, Jan 26, 2010 at 6:40 PM, Myron Flickner wrote: > Problem remains - If I repeat the cgyrunsrv -S sshd command eventually it > works. > > Disabling Symantec Client Firewall didn't fix this. > > I've attached the cygcheck.out file.    Is there any other tracing I can do ? > >  imaging away /

Re: Problems starting sshd as a service on cygwin 1.7.1

2010-01-26 Thread Myron Flickner
Problem remains - If I repeat the cgyrunsrv -S sshd command eventually it works. Disabling Symantec Client Firewall didn't fix this. I've attached the cygcheck.out file.Is there any other tracing I can do ? imaging away / flick cygcheck.out Description: Binary data -- Proble

Re: Problems starting sshd as a service on cygwin 1.7.1

2010-01-22 Thread Myron Flickner
Yes I looked for the logs - the /var/logs/sshd.log file is 0 length. Is there another log somewhere ? I'll explore if this is something the Symantec Client Firewall is causing. imaging away / flick -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Re: Problems starting sshd as a service on cygwin 1.7.1

2010-01-21 Thread Larry Hall (Cygwin)
On 01/21/2010 11:15 PM, Myron Flickner wrote: On one of my upgraded 1.7.1 system sshd quit running as a service and would not restart. I tried a few things but never could make it work so I decided to reinstall. I uninstalled cygwin per the FAQ and a posting on removing sshd http://www.cygwin

Problems starting sshd as a service on cygwin 1.7.1

2010-01-21 Thread Myron Flickner
On one of my upgraded 1.7.1 system sshd quit running as a service and would not restart. I tried a few things but never could make it work so I decided to reinstall. I uninstalled cygwin per the FAQ and a posting on removing sshd http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstal

Re: Problems Starting sshd as a service through CYGWIN

2008-02-27 Thread Larry Hall (Cygwin)
Paul Dillard wrote: Kyle Flavin warnerbros.com> writes: Kyle, I am having the exact same problem. Did you get a resolutions for yours? Did you read the thread? -- Larry Hall http://www.rfk.com RFK Partners, In

Re: Problems Starting sshd as a service through CYGWIN

2008-02-27 Thread Paul Dillard
Kyle Flavin warnerbros.com> writes: Kyle, I am having the exact same problem. Did you get a resolutions for yours? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: error in using cygrunsrv to run sshd as a service

2008-01-28 Thread Bayu
Chen Yue wrote: > Hi > > I have a windows XP host installed with cygwin sshd. Recently, I found I > could not run cygrunsrv to start the service. However, I can use > "/usr/sbin/sshd" to start the daemon. How can I debug this issue? > > Read /usr/share/doc/Cygwin/openssh.README user /bin/ssh-ho

error in using cygrunsrv to run sshd as a service

2008-01-26 Thread Chen Yue
Hi I have a windows XP host installed with cygwin sshd. Recently, I found I could not run cygrunsrv to start the service. However, I can use "/usr/sbin/sshd" to start the daemon. How can I debug this issue? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Larry Hall (Cygwin)
Kyle Flavin wrote: Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-ow

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-owned shell; I ran it

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
I have changed quite a bit. Larry Hall (Cygwin) wrote: On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, bu

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Larry Hall (Cygwin)
On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have a

Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
ygcheck -s -v -r. When I run /usr/sbin/sshd by hand from a CYGWIN terminal, it works. I can remotely access the machine from another computer using SSH. I can successfully install SSHD as a service, but when I try to start the service, it fails. This is true even when I try to start i

Re: error starting sshd as a service

2006-07-06 Thread Andrew DeFaria
Raymond Blum wrote: $ ls -l /var/log/ total 820 -rw-r--r-- 1 SYSTEMroot 0 Jun 30 23:02 cygserver.log -rw-rw-rw- 1 Administrator None 282348 Jul 1 15:59 lastlog -rwxr-x---+ 1 Administrator Users 683494 Jun 30 20:43 setup.log -rwxr-x---+ 1 Administrator Users 18503 Jun 30 20:43 s

Re: error starting sshd as a service

2006-07-01 Thread Raymond Blum
Sorry, one thing was missing. var/empty itself $ ls -l /var/ total 0 drwxrwx---+ 3 Administrator Users 0 Jun 30 16:11 cache drwxr-xr-x+ 3 sshd_server root 0 Jul 1 15:50 empty ... On Jul 1, 2006, at 4:05 PM, Raymond Blum wrote: On Jul 1, 2006, at 3:40 PM, Larry Hall (Cygwin) wrote: > Yes. P

Re: error starting sshd as a service

2006-07-01 Thread Raymond Blum
On Jul 1, 2006, at 3:40 PM, Larry Hall (Cygwin) wrote: > Yes. Please read and follow the problem reporting guidelines found here: Thanks. cygcheck output is attached. In addition, here are the details of my environment and history that are not reported by cygcheck but are relevant. **

Re: error starting sshd as a service

2006-07-01 Thread Larry Hall (Cygwin)
On 07/01/2006, Raymond Blum wrote: My Win2003 server sshd stopped working last night, from the time of day I assume that it was an MS Windows update and in hindsight perhaps windows FW had started blocking it and it was reparable but... I decided instead to upgrade my Cygwin installation to th

Correction to: error starting sshd as a service

2006-06-30 Thread Raymond Blum
Pasted in the wrong cygrunsrv output, sorry, The output in the current state of affairs is $cygrunsrv -Q sshd Service : sshd Display name : CYG SSHD Current State : Stopped Command : /usr/sbin/sshd -D ---Raymond On Jul 1, 2006, at 12:00 AM, Raymond Blum wrote: Hi My Win2003 server sshd stop

error starting sshd as a service

2006-06-30 Thread Raymond Blum
Hi My Win2003 server sshd stopped working last night, from the time of day I assume that it was an MS Windows update and in hindsight perhaps windows FW had started blocking it and it was reparable but... I decided instead to upgrade my Cygwin installation to the current release (bad move

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

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 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 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 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 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 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 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 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 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: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: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 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-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-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

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: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
in32 error 1062: > The service has not been started. > > Thanxs. > > - Original Message - > From: Igor Pechtchanski > To: prgmmer > Cc: cygwincygwincom > Sent: Tuesday, December 30, 2003 11:21 AM > Subject: Re: Fw: Problem configuring sshd as a service -expr error > >

Re: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer
;Igor Pechtchanski" <[EMAIL PROTECTED]> To: "prgmmer" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 30, 2003 11:21 AM Subject: Re: Fw: Problem configuring sshd as a service -expr error > On Tue, 30 Dec 2003, prgmmer wrote: > > > I&#

Re: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, prgmmer wrote: > I've been following and looking at a couple guides to setting up sshd on > cygwin. > > So i've already download openssh and cygwin of course and cygwin runs fine. > > I create some environement variables and I add Path > > Then here's the problem. When I : > >

Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer
- Original Message - From: prgmmer To: [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 12:35 AM Subject: Problem configuring sshd as a service -expr error I've been following and looking at a couple guides to setting up sshd on cygwin. So i've already download openssh and

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

Problems using sshd as a service

2002-12-04 Thread David Brown
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 server starts fine and issues no errors or warnings. From another PC on

Re: sshd as a service

2002-03-15 Thread Corinna Vinschen
On Thu, Mar 14, 2002 at 09:14:11AM -0600, Brian Huddleston wrote: > We're trying to get sshd running on a Windows 2000 server box. We're using > the latest version of everything (as of yesterday morning). > > We're trying to get DSA authentication setup and we seem to have succeeded. > *If* we l

sshd as a service

2002-03-14 Thread Brian Huddleston
We're trying to get sshd running on a Windows 2000 server box. We're using the latest version of everything (as of yesterday morning). We're trying to get DSA authentication setup and we seem to have succeeded. *If* we launch sshd from the command line, the DSA authentication works as expected a