X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "H. S." Subject: [SOLVED] Re: zone alarm service depency problem with sshd Date: Thu, 01 Dec 2005 01:27:41 -0500 Lines: 49 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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). ->HS -- 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/