delorie.com/archives/browse.cgi | search |
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 |
From: | Darren Dunham <ddunham AT taos DOT com> |
Message-Id: | <200304261844.LAA10611@redwood.taos.com> |
Subject: | Re: How to run SSHD automatically when not on NT/2K? |
To: | cygwin AT cygwin DOT com |
Date: | Sat, 26 Apr 2003 11:44:26 -0700 (PDT) |
In-Reply-To: | <b8eekj$v0l$1@main.gmane.org> from "Cant" at Apr 26, 2003 07:13:15 PM |
MIME-Version: | 1.0 |
> > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |