This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How to run SSHD automatically when not on NT/2K?
- From: Darren Dunham <ddunham at taos dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 26 Apr 2003 11:44:26 -0700 (PDT)
- Subject: Re: How to run SSHD automatically when not on NT/2K?
>
> 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/