delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/02/10:17:24

X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 10:17:12 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Adding standard service dependences in sshd-host-config? (Was Re: [SOLVED] Re: zone alarm service depency problem with sshd)
In-Reply-To: <Pine.GSO.4.63.0512011608300.3795@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.63.0512021015490.27528@slinky.cs.nyu.edu>
References: <dmm11p$c89$1 AT sea DOT gmane DOT org> <dmm54u$kc3$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0512011608300 DOT 3795 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Reposting from yesterday with a better subject.
	Igor

On Thu, 1 Dec 2005, H. S. wrote:

> H. S. wrote:
> > Hi,
> >
> > I am trying to have sshd running on my Windows XP box. I have Zone Alarm
> > installed, ver. 6.0.667.
> >
> > I configured sshd with:
> > $> ssh-host-config
> >
> > and started as a service:
> > $> cygrunsrv -S sshd
> > which promptly made Zone Alarm to ask if sshd should be allowed internet
> > access. I allowed it's client as well as server access. And it worked from
> > my other LAN PCs.
> >
> > But then I noticed that after I rebooted the Windows XP box, I could no
> > longer ssh to it from another computer even though the sshd service was
> > running. Zone Alarm was blocking it. I had restart sshd service to make Zone
> > Alarm ware to allow access to/from it.
> >
> > A little google search resulted in making Zone Alarm service a dependency of
> > sshd. So:
> > 1. I removed sshd service using "cygrunsrv -R sshd"
> > 2. I installed it again by making Zone Alarm service as it's dependency:
> > $> cygrunsrv -I sshd -p /usr/sbin/sshd -f "Cygwin SSH Demon" -y zlclient.exe
>
> The problem was that ... er ... zlclient is not a service at all, or so it
> seems to me (since "tasklist /svc" in a command prompt listed it, it first
> looked as service to me).
>
> So I stopped the service:
> $ cygrunsrv -E sshd
>
> then removed it
> $ cygrunsrv -R sshd
>
> and then this command solved the problem (there was another problem of
> CYGWIN env. too but I didn't know about it earlier):
> $ cygrunsrv -I sshd -p /usr/sbin/sshd -f "Cygwin SSH Demon"  -a'-D' -e
> 'CYGWIN=binmode ntsec tty' -y tcpip -y vsmon
>
> After giving this command, I restarted the service
> $ cygrunsrv -S sshd
>
> and rebooted. I was then able to log in to the XP box just after booting
> (without loggin as any user).

Would it make sense to change ssh-host-config to include the "tcpip" and
"vsmon" dependencies automatically?  Corinna?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019