delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <007101c16923$4bedc4d0$4aa18c09@wdg.uk.ibm.com> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | "Gerald Villemure" <GVillemure AT ik DOT ca>, <cygwin AT cygwin DOT com> |
References: | <003e01c168dc$3e4222a0$0200000a AT dyn DOT ik DOT ca> |
Subject: | Re: Win98se and using SSHD as a TRUE service |
Date: | Fri, 9 Nov 2001 13:34:44 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
The elegant reusable solution would require the creation of a cygrunsrv-like program for 9x/Me. Whilst none of the programming would be particularly challenging, the whole program would basically have to be rewritten, because the 9x/Me service control manager is 100% different from the NT/2k SCM. You are increasingly unlikely to find anyone who can be bothered to write the program, now that the 9x/Me product line is obsolete. A quick and dirty fix would be to add a call to RegisterServiceProcess[See Win32 API docs] in the initialization code of ssh, and recompile. That would give you a version of ssh which would fix your problem (but wouldn't run on NT/2k). Max Bowsher. ----- Original Message ----- From: "Gerald Villemure" <GVillemure AT ik DOT ca> To: <cygwin AT cygwin DOT com> Sent: Friday, November 09, 2001 5:06 AM Subject: Win98se and using SSHD as a TRUE service > I would like to say that if I knew how to code I would be the first to > volunteer to develope a fix. At this point I can mostly offer my time as a > tester more then anything else. > > The issue is this: > > I put the following entry into the registry: > [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices] > "C:\\CYGWIN\\BIN\\BASH.EXE --login -c /usr/sbin/sshd" > > This starts SSHD as a service when the system boots but the problem is that > SSHD dosen't register itself as a true service. I can say this because I use > a tool to see the processes currently running on the box called WinTOP which > you can find here: > > http://www.microsoft.com/windows95/downloads/contents/wutoys/w95kerneltoy/de > fault.asp > > According to WinTOP my "VNC" process is a "system process" but my "SSHD" is > a normal user level process. > > I would not care either way but for the fact that if I login via SSHD then > the next time the user logs out SSHD will DIE! > > Everythign else with regards to SSHD work VERY well. > > Last tested with: > Win98se > Cygwin 1.3.4-4 > OpenSSH 3.0p1-1 > > Thanks for any help, > > Gerald > -------------------------------------------------------------------- > I n t e r K n o w l e d g e > Gerald Villemure > I am a DO-er, not a TRY-er. email: GVillemure AT ik DOT ca > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |