Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Cant" <cant_reed AT yahoo DOT com> Subject: Re: How to run SSHD automatically when not on NT/2K? Date: Sat, 26 Apr 2003 23:02:33 +0200 Lines: 43 Message-ID: <b8es2h$754$1@main.gmane.org> References: <b8eekj$v0l$1 AT main DOT gmane DOT org> <200304261844 DOT LAA10611 AT redwood DOT taos DOT com> X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 glad i could help [; Uzytkownik "Darren Dunham" <ddunham AT taos DOT com> napisal w wiadomosci news:200304261844 DOT LAA10611 AT redwood DOT taos DOT com... > > > > good news... i had to use this once to start up kde under x11 so here is > > what you put in the batch file > > > > @echo off > > > > D: > > chdir D:\cant\cygwin\bin > > > > bash --login -i -c "sshd" > > > > this is what i have but then i dont use it now that i use cygrunsrv on my xp > > machine [; hope this helps... [; > > Sweet. I used that for some testing. The -i doesn't seem to be > necessary (as one might expect), but the --login is. Also, sshd isn't > in the default startup path, so this is what I finally got working for > me.. > > @echo off > > C: > chdir C:\cygwin\bin > > bash --login -c "/usr/sbin/sshd" > > > Now to pop that in the startup folder, and I'm all set. Thanks for the > help. > > -- > Darren Dunham ddunham AT taos DOT com > Unix System Administrator Taos - The SysAdmin Company > Got some Dr Pepper? San Francisco, CA bay area > < This line left intentionally blank to confuse you. > > -- 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/